struct

Crig::InvalidToolCallContext

Inherits Struct < Value < Object

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)
Source

Instance methods

allowed_tools
Source
args
Source
available_tools
Source
chat_history
Source
internal_call_id
Source
is_streaming?
Source
tool_call_id
Source
tool_choice
Source
tool_name
Source