OutputFunctionCallItem - TypeScript SDK

OutputFunctionCallItem type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { OutputFunctionCallItem } from "@openrouter/sdk/models";
2
3let value: OutputFunctionCallItem = {
4 arguments: "{\"location\":\"San Francisco\"}",
5 callId: "call-abc123",
6 name: "get_weather",
7 type: "function_call",
8};

Fields

FieldTypeRequiredDescription
argumentsstring✔️N/A
callIdstring✔️N/A
idstringN/A
namestring✔️N/A
namespacestringNamespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)
statusmodels.OutputFunctionCallItemStatusUnionN/A
typemodels.OutputFunctionCallItemType✔️N/A