class ToolInvoked

Methods

__construct(string $invocationId, string $toolInvocationId, Agent $agent, Tool $tool, array $arguments, mixed $result, float $time)

Create an event for a completed tool invocation.

Details

at line 18
__construct(string $invocationId, string $toolInvocationId, Agent $agent, Tool $tool, array $arguments, mixed $result, float $time)

Create an event for a completed tool invocation.

Parameters

string $invocationId
string $toolInvocationId
Agent $agent
Tool $tool
array $arguments
mixed $result
float $time

wall time spent in the tool's handler, in milliseconds