Skip to main content
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

import { CustomToolCallInputDoneEvent } from "@openrouter/sdk/models";

let value: CustomToolCallInputDoneEvent = {
  input: "<value>",
  itemId: "<id>",
  outputIndex: 276069,
  sequenceNumber: 0,
  type: "response.custom_tool_call_input.done",
};

Fields

FieldTypeRequiredDescription
inputstring:heavy_check_mark:N/A
itemIdstring:heavy_check_mark:N/A
outputIndexnumber:heavy_check_mark:N/A
sequenceNumbernumber:heavy_check_mark:N/A
type”response.custom_tool_call_input.done”:heavy_check_mark:N/A