Pre-Flight Simulate EVM Transaction for Reverts, Gas & Spend Cap
simulate_evm_tx_and_spend_firewallSimulates any unsigned EVM transaction via eth_call + eth_estimateGas, detects dangerous unlimited ERC-20 approvals, and verifies total USD outflow against the agent's budget cap.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "simulate_evm_tx_and_spend_firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target contract 0x address | |
| data | No | Hex calldata (0x...) | |
| from | No | Sender wallet 0x address | |
| chainId | No | EVM chain ID (default '8453') | |
| valueWei | No | Wei value string (default '0') | |
| maxAllowedUsd | No | Remaining spend budget in USD (default 25) |