CustomToolCallInputDoneEvent - TypeScript SDK

CustomToolCallInputDoneEvent type definition

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

Event emitted when a custom tool call’s freeform input streaming is complete. Mirrors response.function_call_arguments.done but for custom tools.

Example Usage

1import { CustomToolCallInputDoneEvent } from "@openrouter/sdk/models";
2
3let value: CustomToolCallInputDoneEvent = {
4 input: "<value>",
5 itemId: "<id>",
6 outputIndex: 276069,
7 sequenceNumber: 0,
8 type: "response.custom_tool_call_input.done",
9};

Fields

FieldTypeRequiredDescription
inputstring✔️N/A
itemIdstring✔️N/A
outputIndexnumber✔️N/A
sequenceNumbernumber✔️N/A
type”response.custom_tool_call_input.done”✔️N/A