Convert a number between bases

Convert an integer between number bases 2–36 (e.g. hex to binary, decimal to base-36). Arbitrary precision via BigInt, so large values stay exact. Use for radix conversions instead of doing them by hand.

post/v1/tools/base_convert

Request

  • Base URL: https://mcp.cleanor.app
  • URL: https://mcp.cleanor.app/v1/tools/base_convert
  • Auth: none declared

Request body

valuestring required

The number, in from_base (e.g. "ff", "1010", "255").

from_baseinteger

Base of the input (2–36).

to_baseinteger

Base to convert to (2–36).

Response

Tool result: data (structured) and text (human-readable).

okboolean
toolstring
dataobject nullable
textstring
attributionstring

Changes

No recorded changes to this operation across all 1 revision of this API.