FunctionCallArgsDeltaEvent - TypeScript SDK

FunctionCallArgsDeltaEvent type definition

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

Event emitted when function call arguments are being streamed

Example Usage

1import { FunctionCallArgsDeltaEvent } from "@openrouter/sdk/models";
2
3let value: FunctionCallArgsDeltaEvent = {
4 delta: "<value>",
5 itemId: "<id>",
6 outputIndex: 986115,
7 sequenceNumber: 0,
8 type: "response.function_call_arguments.delta",
9};

Fields

FieldTypeRequiredDescription
deltastring✔️N/A
itemIdstring✔️N/A
outputIndexnumber✔️N/A
sequenceNumbernumber✔️N/A
type”response.function_call_arguments.delta”✔️N/A