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 is being streamed. Mirrors response.function_call_arguments.delta but for custom tools whose input is opaque text rather than JSON arguments.

Example Usage

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

let value: CustomToolCallInputDeltaEvent = {
  delta: "<value>",
  itemId: "<id>",
  outputIndex: 992628,
  sequenceNumber: 0,
  type: "response.custom_tool_call_input.delta",
};

Fields

FieldTypeRequiredDescription
deltastring: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.delta”:heavy_check_mark:N/A