{"uid":"cap_n7de5s8S1-s6wtMqShjDY","slug":"tool-call-policy-guard-74da6a67","name":"Tool Call Policy Guard","description":"Bind a proposed tool call to declared intent, allowed tools, destination and cost before execution","url":"https://phion.systems/v1/paid/trust/tool-call-policy-guard","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema"},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b5cRhfNydKGXpnVEgbhSO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a proposed tool call against declared intent, allowed tools, permitted destinations, and cost limits before allowing execution","exampleAgentPrompt":"Before you run that tool call to query the payments API, check it against my declared intent of 'retrieve invoice data only', the allowed tools list ['invoices.get', 'invoices.list'], the destination 'payments.internal.corp', and a cost ceiling of $0.05 — make sure it passes the policy guard.","exampleUseCases":[{"title":"Prevent out-of-scope tool execution","prompt":"I have an agent about to call the 'send_email' tool, but its declared intent was only to read customer records — run a policy check to confirm whether this tool call is within scope before it executes."},{"title":"Enforce cost ceiling on agent actions","prompt":"My agent wants to call a data enrichment tool that costs $0.10 per call, but its budget cap is $0.02 — validate this tool call against the cost limit and block it if it exceeds the allowed spend."},{"title":"Restrict agent to allowlisted destinations","prompt":"Before my agent calls the external webhook tool pointing to 'https://unknown-site.io/hook', verify it against the allowed destination list 'api.mycompany.com' and reject it if the target isn't permitted."}],"resultDescription":"A structured policy decision indicating whether the proposed tool call is approved or rejected, along with the specific policy dimension that was violated (intent mismatch, disallowed tool, forbidden destination, or cost exceeded) and the bound policy context used for the evaluation.","failureModes":["Missing or malformed tool call specification returns a validation error","Undeclared or empty intent causes policy binding to fail","Destination not present in allowlist results in rejection with destination violation reason","Proposed cost exceeds declared limit returns cost ceiling violation","Malformed input schema triggers a 400-level error response"],"whenToPreferThis":"Use this endpoint when an AI agent needs to enforce pre-declared governance constraints on tool calls before execution — particularly when operating with a scoped intent, a restricted tool allowlist, permitted destination rules, or a cost ceiling. Prefer this over generic access control when the enforcement must be bound to the agent's declared intent and evaluated holistically across all four dimensions (intent, tools, destination, cost) in a single pre-execution check.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:21.820Z","isFirstParty":false}