OutputShellCallItem - TypeScript SDK

OutputShellCallItem type definition

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

A native shell_call output item matching OpenAI’s Responses API shape. Emitted for the sandbox-backed shell tool.

Example Usage

1import { OutputShellCallItem } from "@openrouter/sdk/models";
2
3let value: OutputShellCallItem = {
4 callId: "<id>",
5 id: "msg-abc123",
6 status: "completed",
7 type: "shell_call",
8};

Fields

FieldTypeRequiredDescriptionExample
actionmodels.OutputShellCallItemActionN/A
callIdstring✔️N/A
idstring✔️N/A
statusmodels.ShellCallStatus✔️Status of a shell call or its output.completed
type”shell_call”✔️N/A