The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OutputMcpServerToolItem } from "@openrouter/sdk/models";
let value: OutputMcpServerToolItem = {
status: "completed",
type: "openrouter:mcp",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | :heavy_minus_sign: | N/A | |
serverLabel | string | :heavy_minus_sign: | N/A | |
status | models.ToolCallStatus | :heavy_check_mark: | N/A | completed |
toolName | string | :heavy_minus_sign: | N/A | |
type | models.OutputMcpServerToolItemType | :heavy_check_mark: | N/A |