Try the guardrails
Paused for a client-side tool
The agent wants to run
, decorated
@tool(target="client") — it can only execute on your side
(browser, mobile, Excel add-in). In a real app your UI would run the
tool and post the result back. For this demo, type what the result
would be; the agent resumes with your text as the return value.
Approval needed
The agent wants to run
, listed in
require_approval=[...]. Approve to execute the tool, or
reject to feed a failed result to the LLM so it can decide the next step.
Activity