confirm_action
Confirm risky actions (financial, medical, legal, auth) before execution. Call before clicking on flagged elements to prevent errors and ensure safety.
Instructions
SAFETY GATE: confirm a dangerous action before executing it. Call this BEFORE clicking refs on pages flagged with danger_zone (financial/medical/legal/auth).
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": {
"session_id": "<session_id>",
"page_id": "<page_id>",
"action": "<action>",
"ref": "<ref>"
},
"name": "confirm_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The ref of the element that will be clicked/activated. | |
| action | Yes | What the agent is about to do (for the evidence log). | |
| page_id | Yes | ||
| session_id | Yes |