ShellServerToolEngine - TypeScript SDK

ShellServerToolEngine type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Which shell engine to use. “openrouter” runs commands server-side in the OpenRouter sandbox. “auto” (default) keeps the provider’s native hosted shell when available (OpenAI); on other providers the call is routed to the OpenRouter sandbox.

Example Usage

1import { ShellServerToolEngine } from "@openrouter/sdk/models";
2
3let value: ShellServerToolEngine = "openrouter";
4
5// Open enum: unrecognized values are captured as Unrecognized<string>

Values

1"auto" | "openrouter" | Unrecognized<string>