Function: toolExecutionStart()
@providerprotocol/ai / @providerprotocol/ai / toolExecutionStart
Function: toolExecutionStart()
Section titled “Function: toolExecutionStart()”toolExecutionStart(
toolCallId,toolName,timestamp,index):StreamEvent
Defined in: src/types/stream.ts:413
Creates a tool execution start stream event.
Parameters
Section titled “Parameters”toolCallId
Section titled “toolCallId”string
Unique identifier for the tool call
toolName
Section titled “toolName”string
Name of the tool being executed
timestamp
Section titled “timestamp”number
Start timestamp in milliseconds
number = 0
Content block index (default: 0)
Returns
Section titled “Returns”A tool_execution_start StreamEvent