{"uid":"cap_z2_AIAk4yR-k7tqK_8j8K","slug":"coco-unit-converter-3c6fc4c7","name":"CoCo Unit Converter","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/units?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["value"],"properties":{"value":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"to":"km","from":"mile","value":1,"result":1.609344,"dimension":"[length]","result_text":"1.609344 km"},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"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_icutAcnwaYHRmF9TA53A8","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 a numeric value between measurement units (e.g. miles to kilometers) and returns the converted result with dimension metadata.","exampleAgentPrompt":"Can you convert 26.2 miles to kilometers for me?","exampleUseCases":[{"title":"Marathon distance in metric","prompt":"I need to know how many kilometers are in 26.2 miles — can you convert that for me?"},{"title":"Recipe unit conversion","prompt":"Can you convert 250 milliliters to cups so I can follow this American recipe?"},{"title":"Speed limit conversion for road trip","prompt":"What is 60 miles per hour in kilometers per hour? I'm driving in Canada and need to know the speed limits."}],"resultDescription":"A JSON object containing the converted numeric value, the original and target unit labels, the physical dimension (e.g. '[length]'), and a human-readable result string (e.g. '1.609344 km').","failureModes":["Unknown or unsupported unit type returns an error","Incompatible unit dimensions (e.g. converting length to temperature) returns a conversion error","Missing required query parameters returns a 400-level error","Non-numeric input value causes a parse error"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic unit conversion with structured JSON output including dimension metadata. Prefer it over manual lookup when building agents that need to normalize measurement data across different unit systems (imperial/metric/SI) on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:37:38.474Z","isFirstParty":false,"canonicalSlug":"coco-unit-converter-3c6fc4c7"}