{
  "x402Version": 2,
  "id": 36362,
  "slug": "36362",
  "resource": "https://mini-tollbooth.onrender.com/tool-gate",
  "description": "Policy decision API for pre-execution tool gating — submit a tool name + args + your policy and get a structured ALLOW / DENY / MODIFY (with rewritten args) decision, structured reasons, and audit metadata. Heuristic policy decision, not a security guarantee ($0.10). Toll: $0.10 USDC on Base or Solana.",
  "type": "http",
  "serviceName": "TrollBridge",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8BE8D056d5F0bEF850eC9ed5C4a8d647cBE896C0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "CDhLHtuj1HnPVDuZVtJxyw5aEpf6ZQxfBTrqAtFcWb2e",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "args": "{\"amount_usd\": 50, \"to\": \"0x...\"}",
            "policy": "{\"allow\":[\"send_.*\"],\"deny\":[\"exec\"],\"arg_constraints\":{\"max_amount_usd\":100},\"unknown\":\"deny\"}",
            "tool": "send_payment"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "audit": {
              "args_keys": [
                "amount_usd",
                "to"
              ],
              "decided_at": "2026-10-02T08:00:00Z",
              "policy_rules_applied": 2
            },
            "decision": "MODIFY",
            "description": "Policy decision API for pre-execution tool gating — submit a tool name + args + your policy and get a structured ALLOW / DENY / MODIFY (with rewritten args) decision, structured reasons, and audit metadata. Heuristic policy decision, not a security guarantee ($0.10).",
            "lane": "/tool-gate",
            "reasons": [
              {
                "detail": "…",
                "rule": "amount-cap"
              }
            ],
            "rewritten_args": {
              "amount_usd": 100,
              "to": "0x..."
            },
            "summary": "…",
            "tool": "send_payment"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "args": {
                    "description": "JSON object of the tool args. URL-encoded.",
                    "type": "string"
                  },
                  "policy": {
                    "description": "Optional JSON policy: {allow, deny, arg_constraints, secret_strip, unknown}. URL-encoded.",
                    "type": "string"
                  },
                  "tool": {
                    "description": "Tool/function name the agent wants to call.",
                    "type": "string"
                  }
                },
                "required": [
                  "tool",
                  "args"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "verdict-intel",
    "policy",
    "tool-gating",
    "pre-execution",
    "insurance",
    "bazaar"
  ],
  "sourceHost": "mini-tollbooth.onrender.com",
  "lastUpdated": "2026-10-05T20:10:27.849Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-05T20:10:27.657Z"
  },
  "metadata": {
    "serviceName": "TrollBridge",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "args": "{\"amount_usd\": 50, \"to\": \"0x...\"}",
              "policy": "{\"allow\":[\"send_.*\"],\"deny\":[\"exec\"],\"arg_constraints\":{\"max_amount_usd\":100},\"unknown\":\"deny\"}",
              "tool": "send_payment"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "audit": {
                "args_keys": [
                  "amount_usd",
                  "to"
                ],
                "decided_at": "2026-10-02T08:00:00Z",
                "policy_rules_applied": 2
              },
              "decision": "MODIFY",
              "description": "Policy decision API for pre-execution tool gating — submit a tool name + args + your policy and get a structured ALLOW / DENY / MODIFY (with rewritten args) decision, structured reasons, and audit metadata. Heuristic policy decision, not a security guarantee ($0.10).",
              "lane": "/tool-gate",
              "reasons": [
                {
                  "detail": "…",
                  "rule": "amount-cap"
                }
              ],
              "rewritten_args": {
                "amount_usd": 100,
                "to": "0x..."
              },
              "summary": "…",
              "tool": "send_payment"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "args": {
                      "description": "JSON object of the tool args. URL-encoded.",
                      "type": "string"
                    },
                    "policy": {
                      "description": "Optional JSON policy: {allow, deny, arg_constraints, secret_strip, unknown}. URL-encoded.",
                      "type": "string"
                    },
                    "tool": {
                      "description": "Tool/function name the agent wants to call.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "tool",
                    "args"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mini-tollbooth.onrender.com",
    "manifest_name": "mini-tollbooth.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}