ShellCallOutputItem - TypeScript SDK

ShellCallOutputItem type definition

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

Output from a shell command execution (newer variant)

Example Usage

1import { ShellCallOutputItem } from "@openrouter/sdk/models";
2
3let value: ShellCallOutputItem = {
4 callId: "call-abc123",
5 output: [
6 {
7 type: "stdout",
8 },
9 ],
10 type: "shell_call_output",
11};

Fields

FieldTypeRequiredDescriptionExample
callIdstring✔️N/A
idstringN/A
maxOutputLengthnumberN/A
outputmodels.ShellCallOutputItemOutput[]✔️N/A
statusmodels.ShellCallOutputItemStatusN/Acompleted
typemodels.ShellCallOutputItemType✔️N/A