Crig::InvalidToolCallContext
Constructors
new(tool_name : String, available_tools : Array(String), allowed_tools : Array(String), chat_history : Array(Crig::Completion::Message), tool_call_id : String | Nil = nil, internal_call_id : String | Nil = nil, args : String | Nil = nil, tool_choice : Crig::Completion::ToolChoice | Nil = nil, is_streaming : Bool = false)
SourceInstance methods
allowed_tools
Sourceargs
Sourceavailable_tools
Sourcechat_history
Sourceinternal_call_id
Sourceis_streaming?
Sourcetool_call_id
Sourcetool_choice
Sourcetool_name
Source