{"ok":true,"tool":"Binary Converter","operation":"convert-binary","description":"Convert a number between binary, octal, decimal, and hexadecimal.","method":"POST","endpoint":"/api/binary-converter","webUrl":"https://toolhub-5eo.pages.dev/tools/binary-converter","parameters":{"type":"object","properties":{"value":{"type":"string","description":"The number to convert, as text"},"from":{"type":"string","enum":["binary","octal","decimal","hex"],"description":"Source base (default decimal)"},"to":{"type":"string","enum":["binary","octal","decimal","hex"],"description":"Target base (default binary)"}},"required":["value"]},"response":{"type":"object","properties":{"input":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"decimal":{"type":"number"},"binary":{"type":"string"},"octal":{"type":"string"},"hex":{"type":"string"}}},"example":{"request":{"value":"255","from":"decimal","to":"binary"},"response_shape":{"type":"object","properties":{"input":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"decimal":{"type":"number"},"binary":{"type":"string"},"octal":{"type":"string"},"hex":{"type":"string"}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/binary-converter. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  value (string, required) — The number to convert, as text\n  from (string, optional, one of: binary|octal|decimal|hex) — Source base (default decimal)\n  to (string, optional, one of: binary|octal|decimal|hex) — Target base (default binary)","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/binary-converter -H \"Content-Type: application/json\" -d '{\"value\":\"255\",\"from\":\"decimal\",\"to\":\"binary\"}'"}