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

Example Usage

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

let value: CodeInterpreterServerTool = {
  container: "auto",
  type: "code_interpreter",
};

Fields

FieldTypeRequiredDescription
containermodels.Container:heavy_check_mark:N/A
type”code_interpreter”:heavy_check_mark:N/A