check_payment_allowed
Dry-run a payment BEFORE executing it: checks on-chain whether the agent's smart account would allow it (permission granted, within financial cap, destination approved if a whitelist exists). Returns { allowed, reason }.
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": {
"agent_address": "<agent_address>",
"destination": "<destination>",
"amount_eth": "<amount_eth>"
},
"name": "check_payment_allowed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_eth | Yes | Amount in ETH, e.g. '0.001' | |
| destination | Yes | Destination address to pay | |
| agent_address | Yes | Ethereum address of the agent (its smart account address) |