Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Event emitted when function call arguments streaming is complete

Example Usage

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

let value: OpenResponsesStreamEventResponseFunctionCallArgumentsDone = {
  type: "response.function_call_arguments.done",
  itemId: "item-1",
  outputIndex: 0,
  name: "get_weather",
  arguments: "{\"city\": \"San Francisco\", \"units\": \"celsius\"}",
  sequenceNumber: 6,
};

Fields

FieldTypeRequiredDescription
type”response.function_call_arguments.done”:heavy_check_mark:N/A
itemIdstring:heavy_check_mark:N/A
outputIndexnumber:heavy_check_mark:N/A
namestring:heavy_check_mark:N/A
argumentsstring:heavy_check_mark:N/A
sequenceNumbernumber:heavy_check_mark:N/A