class ToolFailed

Methods

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

Create an event for a failed tool invocation.

Details

at line 19
__construct(string $invocationId, string $toolInvocationId, Agent $agent, Tool $tool, array $arguments, Throwable $exception, float $time)

Create an event for a failed tool invocation.

Parameters

string $invocationId
string $toolInvocationId
Agent $agent
Tool $tool
array $arguments
Throwable $exception
float $time

wall time spent in the tool's handler before it threw, in milliseconds