command_index: int

The index of the shell command that produced output.

item_id: str

The ID of the output item that was updated.

output: List[Output]

The output contents emitted for the shell command.

outcome: OutputOutcome

Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.

One of the following:
class OutputOutcomeTimeout: …

Indicates that the shell call exceeded its configured time limit.

type: Literal["timeout"]

The outcome type. Always timeout.

class OutputOutcomeExit: …

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

exit_code: int

Exit code from the shell process.

type: Literal["exit"]

The outcome type. Always exit.

stderr: str

The standard error output that was captured.

stdout: str

The standard output that was captured.

created_by: Optional[str]

The identifier of the actor that created the item.

output_index: int

The index of the output item that was updated.

sequence_number: int

The sequence number of the event that was emitted.

type: Literal["response.shell_call_output_content.done"]

The type of the event, always response.shell_call_output_content.done.

agent: Optional[Agent]

The agent that owns this multi-agent streaming event.

agent_name: str

The canonical name of the agent that produced this item.