inspect_signature
Inspect EIP-712 typed-data to detect permit-phishing and unlimited allowance grants before signing.
Instructions
SAFETY: inspect an EIP-712 typed-data message the agent is about to SIGN and flag permit-phishing (ERC-2612, Uniswap Permit2, DAI-style permits granting an unlimited/large allowance). Catches the off-chain drain a transaction check can't see. Returns {decoded, risk_flags, ok}. Read-only; takes no key.
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": {
"typed_data": "<typed_data>"
},
"name": "inspect_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typed_data | Yes | EIP-712 typed data: {types, domain, primaryType, message}. |