Execute Tool Async • AI Agent SDK

execute_tool_async: Async version of execute_tool

execute_tool_async

Async

Method

</div>

This is a method of the Agent class in the agent module.

Async version of execute_tool

Diagram

uses

returns

Agent

Tool: execute_tool_async

Result

Signature

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

Parameters

ParamField str

No description available.

ParamField Dict

No description available.

Returns

ResponseField 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


Related Documentation