call_id: String

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

minLength1
maxLength64
output: Array[BetaResponseFunctionShellCallOutputContent { outcome, stderr, stdout } ]

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

outcome: Timeout{ type} | Exit{ exit_code, type}

The exit or timeout outcome associated with this shell call.

One of the following:
class Timeout { type }

Indicates that the shell call exceeded its configured time limit.

type: :timeout

The outcome type. Always timeout.

class Exit { exit_code, type }

Indicates that the shell commands finished and returned an exit code.

exit_code: Integer

The exit code returned by the shell process.

type: :exit

The outcome type. Always exit.

stderr: String

Captured stderr output for the shell call.

maxLength10485760
stdout: String

Captured stdout output for the shell call.

maxLength10485760
type: :shell_call_output

The type of the item. Always shell_call_output.

id: String

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

agent: Agent{ agent_name}

The agent that produced this item.

agent_name: String

The canonical name of the agent that produced this item.

caller_: Direct{ type} | Program{ caller_id, type}

The execution context that produced this tool call.

One of the following:
class Direct { type }
type: :direct

The caller type. Always direct.

class Program { caller_id, type }
caller_id: String

The call ID of the program item that produced this tool call.

minLength1
maxLength64
type: :program

The caller type. Always program.

max_output_length: Integer

The maximum number of UTF-8 characters captured for this shell call’s combined output.

status: :in_progress | :completed | :incomplete

The status of the shell call output.

One of the following:
:in_progress
:completed
:incomplete