OpenAI::FunctionShellCallOutput
Inherits JSON::Serializable < Reference < Object
The output of a shell tool call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : FunctionShellCallOutputType = FunctionShellCallOutputType::ShellCallOutput, id : String = "", call_id : String = "", output : Array(FunctionShellCallOutputContent) = [] of FunctionShellCallOutputContent, max_output_length : FunctionShellCallOutputMaxOutputLength = nil, created_by : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_by
Sourceid=(id : String)
The unique ID of the shell call output. Populated when this item is returned via API.
max_output_length
Sourcemax_output_length=(max_output_length : FunctionShellCallOutputMaxOutputLength)
SourceAn array of shell call output contents
type_value=(type_value : FunctionShellCallOutputType)
The type of the shell call output. Always shell_call_output.