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

Example Usage

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

let value: ShellCallOutputItem = {
  callId: "call-abc123",
  output: [
    {
      type: "stdout",
    },
  ],
  type: "shell_call_output",
};

Fields

FieldTypeRequiredDescriptionExample
callIdstring:heavy_check_mark:N/A
idstring:heavy_minus_sign:N/A
maxOutputLengthnumber:heavy_minus_sign:N/A
outputmodels.ShellCallOutputItemOutput[]:heavy_check_mark:N/A
statusmodels.ShellCallOutputItemStatus:heavy_minus_sign:N/Acompleted
typemodels.ShellCallOutputItemType:heavy_check_mark:N/A