Raised when a tool call is throwing an error.
class ToolInvocationErrorThe tool call that dispatched this subagent, as
{ type: "toolCall", tool_call_id }, or undefined when the originating
tool call could not be recovered (e.g. it was not triggered from a tool).
The message sent to the model explaining why the action was rejected.
The name of the tool being called