{"uid":"cap_LESJ9ezaBvM-rTMyfCxSO","slug":"ddg-agent-tool-schema-repair-a7772067","name":"DDG Agent Tool Schema Repair","description":"DDG agent-payable service request","url":"https://agents.daedalusdevelopmentgroup.com/v1/agent-tool-schema-repair?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_ZYkSg7aStFPlH7cVVA8ez","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":"Repairs and corrects malformed or invalid HTTP API tool schemas (input/output definitions) for AI agents, returning a fixed schema object.","exampleAgentPrompt":"I have a broken agent tool schema — the input is a POST with a JSON body and the output should return {ok: true} — can you repair and normalize it so it's valid and usable?","exampleUseCases":[{"title":"Fix broken agent tool definition","prompt":"My AI agent's tool schema is throwing validation errors — the input type is 'http', method is POST, bodyType is json, and the expected output example is {ok: true}. Can you repair and return a corrected schema?"},{"title":"Normalize tool schema before deployment","prompt":"Before I deploy this tool to my agent fleet, can you check and fix the schema? The input is an HTTP POST with a form-data body and the output should look like {ok: true}."},{"title":"Repair mismatched input/output schema","prompt":"I built a tool schema where the input is an HTTP PATCH with a JSON body but the output schema looks wrong — can you repair it and give me back a valid version with an example output of {ok: true}?"}],"resultDescription":"A JSON response containing the repaired and normalized tool schema object, with corrected input/output definitions and an ok status indicator confirming success.","failureModes":["Missing required 'input' or 'output' fields returns a validation error","Unsupported HTTP method (not POST, PUT, or PATCH) is rejected","Invalid bodyType value outside allowed enum causes rejection","Malformed or unparseable body object may cause repair failure","Payment not completed (x402) results in 402 response before processing"],"whenToPreferThis":"Use this endpoint when an AI agent's tool schema (input/output definition for an HTTP tool) is malformed, invalid, or failing validation and needs programmatic repair. Prefer this over manual schema editing when operating in automated pipelines or agent orchestration systems where schema correctness must be verified at low cost ($0.02 USDC per call) via x402 payment rails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:32.065Z","isFirstParty":false,"canonicalSlug":"ddg-agent-tool-schema-repair-a7772067"}