revoke_plan
Generate a prioritized list of risky approvals to cancel, with calldata to zero out each allowance.
Instructions
Return ONLY the revoke action plan for a wallet: the ordered list of risky approvals to cancel, each with the token, spender and the exact approve(spender,0) calldata the user signs to revoke it. Use after check_approvals to get a clean, signable to-do list. Read-only; the user signs each revoke themselves.
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": {
"chain": "<chain>",
"wallet": "<wallet>"
},
"name": "revoke_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain: ethereum, base, bsc, polygon or arbitrum. | |
| wallet | Yes | The wallet address (0x...). | |
| minRisk | No | Only include approvals at or above this risk: low | medium | high | critical (default: medium). |