{"uid":"cap_sXS6f0KjfzLnVD7dSU9Uy","slug":"toolshed-json-to-yaml-converter-23515e21","name":"Toolshed JSON-to-YAML Converter","description":"JSON to YAML conversion","url":"https://toolshed.lemon-agent.dev/convert/json-yaml","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"string","maxLength":262144,"description":"the raw JSON file as the request body, up to 256 KB"},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"bodyType":{"type":"string","const":"text"}},"additionalProperties":false},"output":{"type":"object","required":["type","format"],"properties":{"type":{"type":"string","const":"text"},"format":{"type":"string","const":"application/yaml","description":"the converted YAML file as the response body (application/yaml)"},"example":{"type":"string","description":"the sample request body above, converted — what a the converted YAML file as the response body (application/yaml) looks like"}},"additionalProperties":false}}},"responseSchema":{"type":"text","format":"application/yaml","example":"name: toolshed\ntags:\n  - x402\n"},"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_yQ4bjGbZQVhHeZMFuCVK_","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":"Converts a JSON payload to YAML format over HTTP, billed per-call at $0.001 USDC via x402 with no account required","exampleAgentPrompt":"Convert this JSON blob to YAML for me: {\"name\": \"toolshed\", \"tags\": [\"x402\"], \"version\": 2}","exampleUseCases":[{"title":"Kubernetes manifest from JSON config","prompt":"Take this JSON config and convert it to YAML so I can use it as a Kubernetes manifest: {\"apiVersion\": \"v1\", \"kind\": \"Pod\", \"metadata\": {\"name\": \"my-app\"}}"},{"title":"OpenAPI spec reformatting","prompt":"I have an OpenAPI spec in JSON — can you convert it to YAML? Here it is: {\"openapi\": \"3.0.0\", \"info\": {\"title\": \"My API\", \"version\": \"1.0.0\"}}"},{"title":"CI pipeline config conversion","prompt":"My team prefers YAML config files. Can you convert this JSON CI configuration to YAML? {\"pipeline\": {\"stages\": [\"build\", \"test\", \"deploy\"], \"timeout\": 30}}"}],"resultDescription":"Returns a plain YAML-formatted text document (Content-Type: application/yaml) that is the YAML equivalent of the submitted JSON input, preserving all keys, values, and nesting.","failureModes":["Invalid JSON input returns an error (malformed or non-JSON body)","Empty body or missing Content-Type header may result in a parsing error","x402 payment failure if the USDC payment header is missing or insufficient — endpoint returns HTTP 402","Network timeout on large payloads"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-auth, pay-per-call JSON-to-YAML conversion without setting up any account or SDK. Ideal for agents that occasionally need format conversion as part of a pipeline and want to avoid managing API keys or subscriptions. The x402 micropayment model makes it particularly suitable for AI agent workflows that already handle USDC payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:26.515Z","isFirstParty":false}