The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ShellCallItem } from "@openrouter/sdk/models";
let value: ShellCallItem = {
action: {
commands: [
"ls",
"-la",
],
},
callId: "call-abc123",
type: "shell_call",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
action | models.ShellCallItemAction | :heavy_check_mark: | N/A | |
callId | string | :heavy_check_mark: | N/A | |
environment | any | :heavy_minus_sign: | N/A | |
id | string | :heavy_minus_sign: | N/A | |
status | models.ShellCallItemStatus | :heavy_minus_sign: | N/A | completed |
type | models.ShellCallItemType | :heavy_check_mark: | N/A |