This example demonstrates how to execute tool calls outside of the agent’s control, allowing for custom execution logic and security measures.
Create a virtual environment
Terminal
and create a python virtual environment.Set your API key
Install libraries
Run Example
@tool(external_execution=True)
to mark tools that need external execution