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

Example Usage

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

let value: LocalShellCallOutputItem = {
  id: "output-abc123",
  output: "total 24\ndrwxr-xr-x  5 user  staff  160 Jan  1 12:00 .",
  type: "local_shell_call_output",
};

Fields

FieldTypeRequiredDescriptionExample
idstring:heavy_check_mark:N/A
outputstring:heavy_check_mark:N/A
statusmodels.LocalShellCallOutputItemStatus:heavy_minus_sign:N/Acompleted
typemodels.LocalShellCallOutputItemType:heavy_check_mark:N/A