This example demonstrates how to implement human-in-the-loop functionality by requiring user confirmation before executing tool calls.
Create a virtual environment
Terminal
and create a python virtual environment.Set your API key
Install libraries
Run Example
@tool(requires_confirmation=True)
to mark tools that need user confirmation