struct
ACP::Protocol::ToolCallStatusUpdate
- ACP::Protocol::ToolCallStatusUpdate
- ACP::Protocol::SessionUpdate
- Struct
- Value
- Object
Overview
Update on the status or results of an existing tool call. All fields except toolCallId are optional — only changed fields need to be included. See: https://agentclientprotocol.com/protocol/tool-calls#updating
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/updates.crConstructors
-
.new(pull : JSON::PullParser)
Update on the status or results of an existing tool call.
- .new(tool_call_id : String, status : String | Nil = nil, title : String | Nil = nil, kind : String | Nil = nil, content : Array(JSON::Any) | Nil = nil, locations : Array(JSON::Any) | Nil = nil, raw_input : JSON::Any | Nil = nil, raw_output : JSON::Any | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#content : Array(JSON::Any) | Nil
Replace the content collection.
-
#content=(content : Array(JSON::Any) | Nil)
Replace the content collection.
-
#kind : String | Nil
Update the tool kind.
-
#kind=(kind : String | Nil)
Update the tool kind.
-
#locations : Array(JSON::Any) | Nil
Replace the locations collection.
-
#locations=(locations : Array(JSON::Any) | Nil)
Replace the locations collection.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#raw_input : JSON::Any | Nil
Update the raw input.
-
#raw_input=(raw_input : JSON::Any | Nil)
Update the raw input.
-
#raw_output : JSON::Any | Nil
Update the raw output.
-
#raw_output=(raw_output : JSON::Any | Nil)
Update the raw output.
-
#status : String | Nil
Update the execution status.
-
#status=(status : String | Nil)
Update the execution status.
-
#title : String | Nil
Update the human-readable title.
-
#title=(title : String | Nil)
Update the human-readable title.
-
#tool_call_id : String
The ID of the tool call being updated (required).
-
#tool_call_id=(tool_call_id : String)
The ID of the tool call being updated (required).
Instance methods inherited from struct ACP::Protocol::SessionUpdate
session_update : String
session_update,
session_update=(session_update : String)
session_update=,
type : String
type
Constructor methods inherited from struct ACP::Protocol::SessionUpdate
new(pull : JSON::PullParser)
new
Constructor Detail
Update on the status or results of an existing tool call. All fields except toolCallId are optional — only changed fields need to be included. See: https://agentclientprotocol.com/protocol/tool-calls#updating