{"uid":"cap_s73MVLRoN4ovM4Z7GaipF","slug":"toolshed-yaml-to-json-converter-c52725f2","name":"Toolshed YAML-to-JSON Converter","description":"YAML to JSON conversion","url":"https://toolshed.lemon-agent.dev/convert/yaml-json","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 YAML 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/json","description":"the converted JSON file as the response body (application/json)"},"example":{"type":"string","description":"the sample request body above, converted — what a the converted JSON file as the response body (application/json) looks like"}},"additionalProperties":false}}},"responseSchema":{"type":"text","format":"application/json","example":"{\n  \"name\": \"toolshed\",\n  \"tags\": [\n    \"x402\"\n  ]\n}\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_CY9IlKiRhNM_U23EnkhJz","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 YAML document to JSON format via a simple HTTP POST call, paid per-call in USDC with no account required.","exampleAgentPrompt":"Convert this YAML to JSON for me: 'name: toolshed\\ntags:\\n  - x402\\nenabled: true'","exampleUseCases":[{"title":"Kubernetes manifest to JSON","prompt":"I have this Kubernetes deployment YAML and I need it as JSON so I can POST it to the API directly — can you convert it for me? Here's the YAML: 'apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n  name: my-app'"},{"title":"OpenAPI spec format conversion","prompt":"My OpenAPI spec is in YAML but the tool I'm integrating with only accepts JSON. Can you convert this YAML spec to JSON? Here it is: 'openapi: 3.0.0\\ninfo:\\n  title: My API\\n  version: 1.0.0'"},{"title":"CI/CD config reformatting","prompt":"I've got a GitHub Actions workflow YAML and need it as JSON for a config parser I'm building. Please convert this: 'on: push\\njobs:\\n  build:\\n    runs-on: ubuntu-latest'"}],"resultDescription":"Returns a JSON-formatted string equivalent of the input YAML document, preserving all keys, values, and nested structure. The response body is application/json text.","failureModes":["Malformed or invalid YAML input returns an error response","Missing or empty request body may result in a 400 Bad Request","Payment failure or insufficient USDC balance blocks the call via x402 protocol","Deeply nested or extremely large YAML documents may time out or be rejected"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-signup, pay-per-call YAML-to-JSON conversion with no rate limits tied to an account. Ideal for agent workflows that occasionally need format conversion without maintaining API credentials. Prefer over self-hosted parsers when you want zero infrastructure overhead and are already using x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:43:16.421Z","isFirstParty":false}