Skip to main content

safe_run

Method
This is a method of the BaseTool class in the base module.
Execute tool with error handling, returning ToolResult.

Signature

Returns

ToolResult
The result of the operation.

Uses

  • run
  • ToolResult
  • logging.error

Source

View on GitHub

praisonaiagents/tools/base.py at line 296