class

OpenAI::FunctionShellCallOutputItemParam

Inherits JSON::Serializable < Reference < Object

The streamed output items emitted by a shell tool call.

Constructors

new(id : FunctionShellCallOutputItemParamId | Nil = nil, call_id : String = "", type_value : FunctionShellCallOutputItemParamType = FunctionShellCallOutputItemParamType::ShellCallOutput, output : Array(FunctionShellCallOutputContentParam) = [] of FunctionShellCallOutputContentParam, max_output_length : FunctionShellCallOutputItemParamMaxOutputLength | 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
id=(id : FunctionShellCallOutputItemParamId | Nil)
Source
max_output_length
Source
max_output_length=(max_output_length : FunctionShellCallOutputItemParamMaxOutputLength | Nil)
Source
output

Captured chunks of stdout and stderr output, along with their associated outcomes.

Source
output=(output : Array(FunctionShellCallOutputContentParam))

Captured chunks of stdout and stderr output, along with their associated outcomes.

Source
type_value

The type of the item. Always shell_call_output.

Source
type_value=(type_value : FunctionShellCallOutputItemParamType)

The type of the item. Always shell_call_output.

Source
validate!
Source