Agent firewall
agent_firewallUnified orchestrator access-control & pre-payment firewall for autonomous AI agents: enforces per-tx/daily USD spend caps, human-approval threshold, allowlists/denylists, HTTPS/phishing URL check, prompt-injection scan, and secret/PII exfiltration guard, returning an Ed25519-signed ALLOW / HOLD_FOR_HUMAN / DENY attestation verifiable offline via /.well-known/jwks.json. Free interactive tester (10/day): https://apexfaucet.xyz/firewall/ . $0.005 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1) or X-API-Key. Call once without payment for terms, then call again with payment.
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": "agent_firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional target URL to check for HTTPS & phishing signals. | |
| payee | No | Optional target wallet address or merchant identifier. | |
| action | No | Proposed autonomous action (default: pay). | |
| policy | No | Optional full policy object ({ maxTxUsd, dailyLimitUsd, spentTodayUsd, humanApprovalAboveUsd, allowlist, denylist, allowedActions, allowedChains, allowedTools, minDeliveryScore, ttlSeconds }). | |
| prompt | No | Optional inbound prompt text to scan for injection/hijack. | |
| target | No | Optional full target object ({ amountUsd, payee, url, chain, tool, prompt, payloadText }). | |
| agentId | No | Optional caller/agent identifier recorded in signed claims. | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). | |
| amount_usd | No | Optional proposed USD amount. | |
| max_tx_usd | No | Optional per-transaction USD cap. | |
| payloadText | No | Optional outbound payload text to scan for secret/key/PII exfiltration. | |
| daily_limit_usd | No | Optional daily USD budget cap. | |
| human_above_usd | No | Optional autonomous spend threshold above which HOLD_FOR_HUMAN is returned. | |
| spent_today_usd | No | Optional USD already spent today. |