pub(crate) const BROWSER_HANDOFF_TOOL: &str = r#"{
"name": "BrowserHandoff",
"description": "Hand a browser pane to the user for something you must not do yourself: signing in, two-factor codes, CAPTCHAs, payment details, or any field marked [secret]. Shows a banner in the pane with your reason and waits (default 15 minutes) for the user to click Done or Cancel. Your tools on that pane are paused meanwhile. After Done, take a new BrowserSnapshot. Note: clicking a submit/send/pay/delete button doesn't need this; BrowserClick on it asks the user to approve automatically.",
"inputSchema": {
"type": "object",
"properties": {
"pane": { "type": "string", "description": "The pane id OpenBrowser returned (omit to act on your own pane, if it is a browser pane)" },
"reason": { "type": "string", "description": "What the user should do, e.g. \"Sign in to your Microsoft account\"" },
"timeout_minutes": { "type": "number", "description": "How long to wait (default 15, max 60)" }
},
"required": ["reason"]
}
}"#;