guard_action
Evaluate any proposed agent action before it spends, sends, or commits. Get an allow, review, or block decision with risk score and safer alternative to prevent irreversible mistakes.
Instructions
THE MONEY-LINE GATE. Decide whether a proposed agent ACTION should proceed — use this right before the agent SPENDS, SENDS, or commits something irreversible (a payment, an outbound message, a destructive command, a data share). PRICE: ~$0.02 per call (x402, USDC on Base mainnet); allow/review/block are priced identically — no block-to-bill rent-seeking.
Fail-closed: it will not 'allow' what it cannot justify as safe — uncertainty escalates to
review, real red flags block. Returns: decision (allow | review | block), an honest 0-1 risk,
concrete reasons, specific concerns, and a safer_alternative. This independent verdict is the
thing no free local check can give the agent at the moment money or irreversibility is on the line.
Pricing is DISCLOSED and paid per use via x402 — Verity holds no key and never charges silently.
Optional affiliate_id tags the call for a future referral program; it never changes price or behavior.
(Maps to OWASP ASI02 Tool Misuse / ASI08 Cascading Failures — produces an audit artifact.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| policy | No | ||
| context | No | ||
| affiliate_id | No |