OpenAI::FunctionShellCall
Inherits JSON::Serializable < Reference < Object
A tool call that executes one or more shell commands in a managed environment.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : FunctionShellCallType = FunctionShellCallType::ShellCall, id : String = "", call_id : String = "", action : FunctionShellAction = FunctionShellAction.new, status : LocalShellCallStatus = LocalShellCallStatus::InProgress, created_by : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
action=(action : FunctionShellAction)
The shell commands and limits that describe how to run the tool call.
id=(id : String)
The unique ID of the shell tool call. Populated when this item is returned via API.
status=(status : LocalShellCallStatus)
The status of the shell call. One of in_progress, completed, or incomplete.