Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

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

let value: LocalShellCallItemAction = {
  command: [
    "<value 1>",
  ],
  env: {},
  type: "exec",
};

Fields

FieldTypeRequiredDescription
commandstring[]:heavy_check_mark:N/A
envRecord<string, *string*>:heavy_check_mark:N/A
timeoutMsnumber:heavy_minus_sign:N/A
typemodels.TypeExec:heavy_check_mark:N/A
userstring:heavy_minus_sign:N/A
workingDirectorystring:heavy_minus_sign:N/A