Can this agent pay this address, now, this much? (free, advisory)
gate_checkUse this when your client applies a written payment policy (AP2 vocabulary) and wants block, warn, log or allow with every reason; it is not a safety verdict, and we never block. One call before an agent pays: the payee facts, the agent's own context from our ledger (what it paid in the period, how often, whether and when it first paid this payee, how many new payees today), the out-of-character score of this payment as the agent's next, and a decision under a policy written in the AP2 mandate vocabulary (allowed_payees, amount_range, budget {max, period: daily|rolling_24h|rolling_7d}, agent_recurrence, execution_date) plus ours: new_payee {max, window_hours, max_new_per_day, step_up_ratio, step_up_days}, refuse_conditions {fact: block|warn|log|ignore} and signal {v2: {notable, major}}. Anything the evaluator does not understand fails closed. Named policies: log-only (default), balanced, recommended, recommended-v3, strict (their measured cost on 500 real agents is in the policy document). The answer is block / warn / log / allow with every reason, and is recorded (advisory since 1 Nov 2026; the default policy log-only never warns or blocks): we never block anything; your client decides, and decides its own fail mode when we are unreachable. Since 13 Nov 2026 every answer carries a receipt (gate.receipt.v1): the agent, the payee, the amount, the policy name and hash, the decision, the reasons and the time, signed with Ed25519, to keep beside the payment as proof that it was checked first; receipts of checks made with a Desk session are also written into our signed log, which a daily Base transaction commits to (read one back at /api/gate/receipt?id=<decision_id>). A receipt never says a payment was made or that the payee is safe.
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": "<agent>",
"payee": "<payee>",
"amount_usd": "<amount_usd>"
},
"name": "gate_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | The paying agent: token id, act_8453_N, slug or bound wallet | |
| payee | Yes | The 0x address to be paid | |
| policy | No | Or your own policy object in the AP2 vocabulary; unknown keys fail closed | |
| amount_usd | Yes | The amount in USD | |
| policy_name | No | A named policy (default log-only) |