CodeInterpreterServerTool - TypeScript SDK

CodeInterpreterServerTool type definition

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

Code interpreter tool configuration

Example Usage

1import { CodeInterpreterServerTool } from "@openrouter/sdk/models";
2
3let value: CodeInterpreterServerTool = {
4 container: "auto",
5 type: "code_interpreter",
6};

Fields

FieldTypeRequiredDescription
containermodels.Container✔️N/A
type”code_interpreter”✔️N/A