class

OpenAI::ClientToolCallItem

Inherits JSON::Serializable < Reference < Object

Record of a client side tool invocation initiated by the assistant.

Constructors

new(id : String = "", object : ClientToolCallItemObject = ClientToolCallItemObject::ChatkitThreadItem, created_at : Int64 = 0, thread_id : String = "", type_value : ClientToolCallItemType = ClientToolCallItemType::ChatkitClientToolCall, status : ClientToolCallStatus = ClientToolCallStatus::InProgress, call_id : String = "", name : String = "", arguments : String = "", output : ClientToolCallItemOutput = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

arguments

JSON-encoded arguments that were sent to the tool.

Source
arguments=(arguments : String)

JSON-encoded arguments that were sent to the tool.

Source
call_id

Identifier for the client tool call.

Source
call_id=(call_id : String)

Identifier for the client tool call.

Source
created_at

Unix timestamp (in seconds) for when the item was created.

Source
created_at=(created_at : Int64)

Unix timestamp (in seconds) for when the item was created.

Source
id

Identifier of the thread item.

Source
id=(id : String)

Identifier of the thread item.

Source
name

Tool name that was invoked.

Source
name=(name : String)

Tool name that was invoked.

Source
object

Type discriminator that is always chatkit.thread_item.

Source
object=(object : ClientToolCallItemObject)

Type discriminator that is always chatkit.thread_item.

Source
output
Source
output=(output : ClientToolCallItemOutput)
Source
status

Execution status for the tool call.

Source
status=(status : ClientToolCallStatus)

Execution status for the tool call.

Source
thread_id

Identifier of the parent thread.

Source
thread_id=(thread_id : String)

Identifier of the parent thread.

Source
type_value

Type discriminator that is always chatkit.client_tool_call.

Source
type_value=(type_value : ClientToolCallItemType)

Type discriminator that is always chatkit.client_tool_call.

Source