ShellCallItem - TypeScript SDK

ShellCallItem type definition

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

A shell command execution call (newer variant)

Example Usage

1import { ShellCallItem } from "@openrouter/sdk/models";
2
3let value: ShellCallItem = {
4 action: {
5 commands: [
6 "ls",
7 "-la",
8 ],
9 },
10 callId: "call-abc123",
11 type: "shell_call",
12};

Fields

FieldTypeRequiredDescriptionExample
actionmodels.ShellCallItemAction✔️N/A
callIdstring✔️N/A
environmentanyN/A
idstringN/A
statusmodels.ShellCallItemStatusN/Acompleted
typemodels.ShellCallItemType✔️N/A