class

OpenAI::FunctionShellCallItemParam

Inherits JSON::Serializable < Reference < Object

A tool representing a request to execute one or more shell commands.

Constructors

new(id : FunctionShellCallItemParamId | Nil = nil, call_id : String = "", type_value : FunctionShellCallItemParamType = FunctionShellCallItemParamType::ShellCall, action : FunctionShellActionParam = FunctionShellActionParam.new, status : FunctionShellCallItemParamStatus | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

action

The shell commands and limits that describe how to run the tool call.

Source
action=(action : FunctionShellActionParam)

The shell commands and limits that describe how to run the tool call.

Source
call_id

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

Source
call_id=(call_id : String)

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

Source
id=(id : FunctionShellCallItemParamId | Nil)
Source
status
Source
status=(status : FunctionShellCallItemParamStatus | Nil)
Source
type_value

The type of the item. Always shell_call.

Source
type_value=(type_value : FunctionShellCallItemParamType)

The type of the item. Always shell_call.

Source
validate!
Source