struct
ACP::Protocol::ToolCallInfo
- ACP::Protocol::ToolCallInfo
- Struct
- Value
- Object
Overview
Describes the tool call that triggered the permission request. This is a ToolCallUpdate-like object. See: https://agentclientprotocol.com/protocol/tool-calls#requesting-permission
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(tool_call_id : String | Nil = nil, title : String | Nil = nil, kind : String | Nil = nil, status : String | Nil = nil, content : Array(JSON::Any) | Nil = nil, tool_name : String | Nil = nil, input : JSON::Any | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#content : Array(JSON::Any) | Nil
Content produced by the tool call.
-
#content=(content : Array(JSON::Any) | Nil)
Content produced by the tool call.
-
#input : JSON::Any | Nil
The input/arguments to the tool call.
-
#input=(input : JSON::Any | Nil)
The input/arguments to the tool call.
-
#kind : String | Nil
The category of tool being invoked.
-
#kind=(kind : String | Nil)
The category of tool being invoked.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#status : String | Nil
Current execution status.
-
#status=(status : String | Nil)
Current execution status.
-
#title : String | Nil
Human-readable title or summary of the tool call.
-
#title=(title : String | Nil)
Human-readable title or summary of the tool call.
-
#tool_call_id : String | Nil
The unique ID of the tool call.
-
#tool_call_id=(tool_call_id : String | Nil)
The unique ID of the tool call.
-
#tool_name : String | Nil
The name of the tool being invoked (backward compat).
-
#tool_name=(tool_name : String | Nil)
The name of the tool being invoked (backward compat).
Constructor Detail
def self.new(tool_call_id : String | Nil = nil, title : String | Nil = nil, kind : String | Nil = nil, status : String | Nil = nil, content : Array(JSON::Any) | Nil = nil, tool_name : String | Nil = nil, input : JSON::Any | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
#