The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OpenAIResponsesInputFunctionCallOutput } from "@openrouter/sdk/models";
let value: OpenAIResponsesInputFunctionCallOutput = {
type: "function_call_output",
callId: "<id>",
output: "<value>",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type | models.OpenAIResponsesInputTypeFunctionCallOutput | :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 |