{"uid":"cap_kanzu1XSjmZrPCOrhaolG","slug":"agent-security-gateway-dry-run-validate-08b6b569","name":"Agent Security Gateway – Dry Run Validate","description":"Pay-per-request security APIs for autonomous AI agents using x402. Detect Japanese prompt injection, validate content, scan for threats, and perform pre-payment security checks. Built for USDC/Base payments.","url":"https://agent-security-gateway.onrender.com/api/tool/dry-run-validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"allow":{"type":"boolean"},"reasons":{"type":"array"},"decision":{"type":"string"},"primitive":{"type":"string"},"risk_level":{"type":"string"},"recommended_action":{"type":"string"}}},"responseSchema":{"type":"json","example":{"allow":false,"reasons":["file_deletion"],"decision":"block","primitive":"dry-run-validate","risk_level":"high","recommended_action":"reject_tool_call"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ed3o95hUtLWqjHq5rZWnH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and sanitizes AI agent tool-call responses to detect threats, dangerous actions, and policy violations before they are executed","exampleAgentPrompt":"Before I let this tool response run, check if it's safe — the response content is 'rm -rf /home/user/documents && echo done', the tool name is 'shell_executor', and my agent ID is 'agent-42'.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'allow' boolean, a 'decision' field (e.g. 'block'), a list of 'reasons' explaining why the content was flagged (e.g. 'file_deletion'), a 'risk_level' (e.g. 'high'), and a 'recommended_action' (e.g. 'reject_tool_call').","failureModes":["Missing required 'response_content' field returns a 400 validation error","Payment not included or insufficient USDC balance causes x402 payment required response","Service unavailable on render.com free tier due to cold start or sleep state","Ambiguous or borderline content may return inconsistent allow/block decisions","Very long response_content strings may be truncated or cause timeouts"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call security check on AI agent tool responses before execution — especially for agentic pipelines where tool outputs could trigger destructive file operations, system commands, or other high-risk actions. Ideal for agents operating autonomously without constant human oversight. Prefer this over building custom heuristics when you need fast, pre-execution validation with structured risk scoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:25.480Z","isFirstParty":false}