OutputShellCallOutputItem - Python SDK

OutputShellCallOutputItem method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

A native shell_call_output item matching OpenAI’s Responses API shape. Carries per-command stdout, stderr, and the exit/timeout outcome.

Fields

FieldTypeRequiredDescriptionExample
call_idstr✔️N/A
idstr✔️N/A
max_output_lengthOptionalNullable[int]N/A
outputList[components.OutputShellCallOutputItemOutput]✔️N/A
statuscomponents.ShellCallStatus✔️Status of a shell call or its output.completed
typecomponents.OutputShellCallOutputItemTypeShellCallOutput✔️N/A