confirm
Executes a prepared browser action—login, click, code entry, or secret saving—after the user approves the exact site, page, and detail shown; any mismatch discards it.
Instructions
Carries out an action that login, click, enter_code, save_secret or type_secret prepared (status "needs_confirmation"). Pass the id, action, site, page and detail from that result exactly as given. The user sees these values when asked to allow this call; if any value differs, the action is discarded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"action": "<action>",
"site": "<site>",
"page": "<page>",
"detail": "<detail>"
},
"name": "confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the prepared action. | |
| page | Yes | The page the tab is showing. | |
| site | Yes | The site (origin) that will be acted on. | |
| action | Yes | What will be done. | |
| detail | Yes | The username, element text or code-box count that was found on the page. |