{"uid":"cap_F4alB5AG2_jBNAL-Swnbn","slug":"agentresolver-tool-contract-capability-router-9e3f8c5d","name":"AgentResolver — Tool Contract Capability Router","description":"Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.","url":"https://agentresolver.vercel.app/api/tool-contract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"consumerInputSchema":{"type":"object"},"producerOutputSchema":{"type":"object"}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X6InKHha1eDrldgOgRUHK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves AI agent capability routing by matching consumer input schemas to producer output schemas across discoverable machine services","exampleAgentPrompt":"I have an agent that accepts a user query as input and needs to produce a structured sentiment result — can you find and route me to the right service that matches this input-output contract?","exampleUseCases":[{"title":"Routing agent tasks to matching APIs","prompt":"My agent receives plain-text customer feedback as input and needs to output a structured JSON object with sentiment and category fields — can you find a service whose tool contract matches this input and output schema?"},{"title":"Discovering services for a data pipeline","prompt":"I'm building a pipeline where the input is an image URL and the output should be extracted text — find me an API whose tool contract aligns with that consumer input and producer output shape."},{"title":"Comparing available capability providers","prompt":"My agent needs to call a service that takes a latitude and longitude as input and returns a weather forecast object — resolve which tool contracts are available for this kind of capability so I can pick the best one."}],"resultDescription":"Returns a resolved tool contract or routing recommendation that matches the provided consumer input schema to an available producer output schema, enabling the agent to identify and invoke the correct machine service for its task.","failureModes":["No matching service found for the given schema combination — returns empty or null result","Malformed input or output schema objects cause validation errors","Ambiguous schemas may return multiple candidates without clear ranking","Service unavailability or timeout if upstream capability registry is unreachable","Payment failure (x402) if USDC micropayment is not properly handled before request"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover and route to the right machine service based on declared input/output schemas, rather than hardcoding a specific API. Particularly useful in multi-agent orchestration workflows where capability requirements are known but the exact provider is not, or when building flexible agent pipelines that should adapt to available services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T12:45:00.454Z","isFirstParty":false}