The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OpenAIResponsesInputFunctionCall } from "@openrouter/sdk/models";
let value: OpenAIResponsesInputFunctionCall = {
type: "function_call",
callId: "<id>",
name: "<value>",
arguments: "<value>",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type | models.OpenAIResponsesInputTypeFunctionCall | :heavy_check_mark: | N/A | |
callId | string | :heavy_check_mark: | N/A | |
name | string | :heavy_check_mark: | N/A | |
arguments | string | :heavy_check_mark: | N/A | |
id | string | :heavy_minus_sign: | N/A | |
status | models.ToolCallStatus | :heavy_minus_sign: | N/A | completed |