Ask whether a tool call should run automatically, need human confirmation, or be
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. Try GET /guard/sample.
Answeringour last check, 2026-09-28
1 of 1checks answered this week
915 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.agentindex.world/guard
| Category | Everything else |
|---|---|
| Provider host | x402.agentindex.world |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.001 | 915 ms |
Example input (from the provider)
{
"body": {
"tool_call": {
"arguments": {
"path": "/",
"recursive": true
},
"name": "delete_files"
},
"user_request": "Clean up my project folder, it's gotten messy."
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$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"
}