The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OpenAIResponseCustomToolCallOutput } from "@openrouter/sdk/models";
let value: OpenAIResponseCustomToolCallOutput = {
callId: "call-abc123",
output: "patch applied successfully",
type: "custom_tool_call_output",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
callId | string | :heavy_check_mark: | N/A |
id | string | :heavy_minus_sign: | N/A |
output | models.OpenAIResponseCustomToolCallOutputOutput2 | :heavy_check_mark: | N/A |
type | models.OpenAIResponseCustomToolCallOutputType | :heavy_check_mark: | N/A |