Skip to content

Function: toolCallDelta()

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / toolCallDelta

toolCallDelta(toolCallId, toolName, argumentsJson, index): StreamEvent

Defined in: src/types/stream.ts:322

Creates a tool call delta stream event.

string

Unique identifier for the tool call

string

Name of the tool being called

string

Incremental JSON arguments string

number = 0

Content block index (default: 0)

StreamEvent

A tool_call_delta StreamEvent