dragon.ai.agent.utils.errors.ToolExecutionError

exception ToolExecutionError[source]

Bases: AgentError

A tool call (MCP or local) raised an exception.

Attributes

tool_namestr

The name of the tool that failed.

tool_argsdict

The arguments passed to the tool.

originalException

The underlying exception from the tool.

__init__(tool_name: str , tool_args: dict , original: Exception ) None [source]