The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OpenResponsesFunctionCallOutput } from "@openrouter/sdk/models";
let value: OpenResponsesFunctionCallOutput = {
type: "function_call_output",
callId: "call-abc123",
output: "{\"temperature\":72,\"conditions\":\"sunny\"}",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type | models.OpenResponsesFunctionCallOutputType | :heavy_check_mark: | N/A | |
id | string | :heavy_minus_sign: | N/A | |
callId | string | :heavy_check_mark: | N/A | |
output | string | :heavy_check_mark: | N/A | |
status | models.ToolCallStatus | :heavy_minus_sign: | N/A | completed |