# GuardRoute.ai Tool Call Policy Check

> GuardRoute.ai Tool Call Policy Check is a paid API for AI agents from guardroute.ai, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-30).

Returns a live risk score and policy routing decision (ALLOW or block) for an AI-agent tool call before it is executed.

## Facts

- Endpoint: GET https://guardroute.ai/api/x402/tool-call-policy?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/guardroute-ai-tool-call-policy-check-84ead6eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kZ3uffa-YPbwst0-I_mEb

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability guardroute-ai-tool-call-policy-check-84ead6eb
```

Example prompt: Before my agent sends that wire transfer, run it through GuardRoute to get a live policy decision — the request is a POST method — and tell me whether it gets an ALLOW or block routing decision.

## When to prefer this

Choose this endpoint when you need a real-time, pre-execution policy gate specifically for AI agent tool calls, wire transfers, beneficiary changes, or automated workflow actions — especially when compliance, fraud prevention, or risk scoring is required before any irreversible operation is triggered. Prefer it over generic authorization APIs when you need a deterministic route decision tied to a blockchain-anchored policy hash on Base.

## Known failure modes

- Missing required 'input' or 'output' fields returns a validation error
- Invalid HTTP method enum value causes a schema rejection
- Payment not provided or insufficient USDC causes a 402 Payment Required response
- Network or service unavailability may return a 5xx error
- Malformed query parameters or headers may result in policy evaluation failure

## How this service works

Live risk scoring and policy routing for wires, beneficiary changes, workflow actions, and AI-agent requests — before execution.

## Output

Returns a JSON object containing: a boolean success flag, a routeDecision string (e.g. ALLOW_DETERMINISTIC), a policyHash identifying the applied policy, the GUARD protocol token address on the Base network, a link to the nodes portal, and service/network identifiers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "POST"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ticker": "GUARD",
  "network": "base",
  "service": "GuardRoute.ai",
  "success": true,
  "policyHash": "GUARD-3E6B87B64469",
  "nodesPortal": "https://guardroute.ai/nodes",
  "protocolToken": "0x3e6B87b64469a59A93432DdA3C44523c472a1b07",
  "routeDecision": "ALLOW_DETERMINISTIC"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/guardroute-ai-tool-call-policy-check-84ead6eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from guardroute.ai](https://www.zero.xyz/host/guardroute.ai/llms.txt)
