LocalShellCallOutputItem - TypeScript SDK

LocalShellCallOutputItem type definition

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

Output from a local shell command execution

Example Usage

1import { LocalShellCallOutputItem } from "@openrouter/sdk/models";
2
3let value: LocalShellCallOutputItem = {
4 id: "output-abc123",
5 output: "total 24\ndrwxr-xr-x 5 user staff 160 Jan 1 12:00 .",
6 type: "local_shell_call_output",
7};

Fields

FieldTypeRequiredDescriptionExample
idstring✔️N/A
outputstring✔️N/A
statusmodels.LocalShellCallOutputItemStatusN/Acompleted
typemodels.LocalShellCallOutputItemType✔️N/A