{"uid":"cap_fX3sWs_XE5bd-EungldsT","slug":"json-yaml-format-converter-c1e19894","name":"JSON/YAML Format Converter","description":"Pure-compute data format conversion (no network): JSON<->CSV, JSON<->YAML, JSON normalize/minify, Markdown->HTML (sanitized), HTML->Markdown/text, base64/hex, TOML->JSON. Operates only on the supplied data.","url":"https://payai.agentstools.dev/convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["base64","csv","hex","html","json","markdown","text","toml","yaml"],"type":"string","description":"Target format"},"data":{"type":"string","description":"The data to convert (the source document as a string)"},"from":{"enum":["base64","csv","hex","html","json","markdown","text","toml","yaml"],"type":"string","description":"Source format"},"options":{"type":"object","description":"Per-conversion options, e.g. {minify, sort_keys, indent, delimiter}"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TBHJ_klG1P8ujaN9NiJFG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts input data between JSON and YAML formats, returning the converted payload and format metadata","exampleAgentPrompt":"Convert this JSON object to YAML for me: {\"name\": \"Alice\", \"age\": 30, \"roles\": [\"admin\", \"user\"]}","exampleUseCases":null,"resultDescription":"Returns the converted payload in the target format (JSON or YAML) along with basic metadata describing the source and target formats used in the conversion.","failureModes":["Invalid or malformed JSON input causes parse error","Invalid or malformed YAML input causes parse error","Unsupported source/target format combination returns error","Empty payload returns validation error"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, reliable, stateless JSON↔YAML conversion without setting up a local parser — especially in workflows where config files, infrastructure-as-code, or API payloads need to be reformatted on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:22.033Z","isFirstParty":false}