class

OpenAI::FunctionShellCallOutput

Inherits JSON::Serializable < Reference < Object

The output of a shell tool call.

Constructors

new(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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

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
created_by
Source
created_by=(created_by : String | Nil)
Source
id

The unique ID of the shell call output. Populated when this item is returned via API.

Source
id=(id : String)

The unique ID of the shell call output. Populated when this item is returned via API.

Source
max_output_length
Source
max_output_length=(max_output_length : FunctionShellCallOutputMaxOutputLength)
Source
output

An array of shell call output contents

Source
output=(output : Array(FunctionShellCallOutputContent))

An array of shell call output contents

Source
type_value

The type of the shell call output. Always shell_call_output.

Source
type_value=(type_value : FunctionShellCallOutputType)

The type of the shell call output. Always shell_call_output.

Source