{"ok":true,"tool":"Length Converter","operation":"convert-length","description":"Convert a length value from one unit to all supported units.","method":"POST","endpoint":"/api/length-converter","webUrl":"https://toolhub-5eo.pages.dev/tools/length-converter","parameters":{"type":"object","properties":{"value":{"type":"number","description":"The value to convert"},"from":{"type":"string","enum":["m","km","cm","mm","mi","ft","in","yd","nmi"],"description":"Source unit"}},"required":["value","from"]},"response":{"type":"object","properties":{"input":{"type":"object"},"conversions":{"type":"object","description":"Map of unit code to converted value","additionalProperties":{"type":"number"}}}},"example":{"request":{"value":1,"from":"m"},"response_shape":{"type":"object","properties":{"input":{"type":"object"},"conversions":{"type":"object","description":"Map of unit code to converted value","additionalProperties":{"type":"number"}}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/length-converter. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  value (number, required) — The value to convert\n  from (string, required, one of: m|km|cm|mm|mi|ft|in|yd|nmi) — Source unit","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/length-converter -H \"Content-Type: application/json\" -d '{\"value\":1,\"from\":\"m\"}'"}