Skip to main content

execute_tool

Method
This is a method of the Agent class in the agent module.
Execute a tool dynamically based on the function name and arguments. Injects agent state for tools with Injected[T] parameters.

Signature

def execute_tool(function_name: Any, arguments: Any) -> Any

Parameters

function_name
Any
required
No description available.
arguments
Any
required
No description available.

Returns

Returns
Any
The result of the operation.