Skip to main content
Gate dangerous tool executions with CallContext.request_confirmation():
When request_confirmation() is called from a before_tool_callback, the tool execution is paused and a confirmation request event is yielded. The caller must approve or reject before execution continues.