Api Endpoint

tool-call-guard

Ask whether a tool call should run automatically, need human confirmation, or be denied, given the user's request - returns allow/ask/deny with a probability. Advisory only: like any LLM-based judge it is sensitive to prompt injection in the request or tool call, so the calling agent must keep the final decision, not delegate it outright. Powered by Jev (TypeSafe System One). $0.001 per call, no OpenRouter or TypeSafe account needed. Try GET /guard/sample.

Open interactive test console

Offering

Provider
x402.agentindex.world
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.agentindex.world/guard
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
guardrail

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d"
  }
]

Observed health

Status
Reachable
Latest latency
296 ms
Average latency
762 ms
HTTP status
405
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "user_request": {
          "type": "string",
          "description": "The user's original request, in their own words."
        },
        "tool_call": {
          "type": "object",
          "description": "The tool call an agent is about to make, e.g. {\"name\": ..., \"arguments\": {...}}."
        }
      },
      "required": [
        "user_request",
        "tool_call"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "tool_call": {
              "description": "The tool call an agent is about to make, e.g. {\"name\": ..., \"arguments\": {...}}.",
              "type": "object"
            },
            "user_request": {
              "description": "The user's original request, in their own words.",
              "type": "string"
            }
          },
          "required": [
            "user_request",
            "tool_call"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "confidence": {
              "type": "number"
            },
            "decision": {
              "enum": [
                "allow",
                "ask",
                "deny"
              ],
              "type": "string"
            },
            "probabilities": {
              "description": "Probability for each of allow/ask/deny.",
              "type": "object"
            },
            "probability": {
              "description": "Probability of the returned decision.",
              "type": "number"
            },
            "x402_receipt": {
              "description": "Billing and provenance receipt for this call.",
              "type": "object"
            }
          },
          "required": [
            "decision",
            "probability",
            "probabilities"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}