Skip to main content

execute_tool_async

AsyncMethod
This is a method of the Agent class in the agent module.
Async version of execute_tool

Signature

async def execute_tool_async(function_name: str, arguments: Dict[str, Any]) -> Any

Parameters

function_name
str
required
No description available.
arguments
Dict
required
No description available.

Returns

Returns
Any
The result of the operation.

Uses

  • logging.info
  • is_approval_required
  • is_env_auto_approve
  • is_yaml_approved
  • logging.debug
  • mark_approved
  • request_approval
  • logging.warning
  • callable
  • logging.error

Source

View on GitHub

praisonaiagents/agent/agent.py at line 6763