class

OpenAI::LocalShellToolCall

Inherits JSON::Serializable < Reference < Object

A tool call to run a command on the local shell.

Constructors

new(type_value : LocalShellToolCallType = LocalShellToolCallType::LocalShellCall, id : String = "", call_id : String = "", action : LocalShellExecAction = LocalShellExecAction.new, status : LocalShellToolCallStatus = LocalShellToolCallStatus::InProgress)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

action
Source
action=(action : LocalShellExecAction)
Source
call_id

The unique ID of the local shell tool call generated by the model.

Source
call_id=(call_id : String)

The unique ID of the local shell tool call generated by the model.

Source
id

The unique ID of the local shell call.

Source
id=(id : String)

The unique ID of the local shell call.

Source
status

The status of the local shell call.

Source
status=(status : LocalShellToolCallStatus)

The status of the local shell call.

Source
type_value

The type of the local shell call. Always local_shell_call.

Source
type_value=(type_value : LocalShellToolCallType)

The type of the local shell call. Always local_shell_call.

Source