Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
A shell command execution call (newer variant)

Example Usage

import { ShellCallItem } from "@openrouter/sdk/models";

let value: ShellCallItem = {
  action: {
    commands: [
      "ls",
      "-la",
    ],
  },
  callId: "call-abc123",
  type: "shell_call",
};

Fields

FieldTypeRequiredDescriptionExample
actionmodels.ShellCallItemAction:heavy_check_mark:N/A
callIdstring:heavy_check_mark:N/A
environmentany:heavy_minus_sign:N/A
idstring:heavy_minus_sign:N/A
statusmodels.ShellCallItemStatus:heavy_minus_sign:N/Acompleted
typemodels.ShellCallItemType:heavy_check_mark:N/A