Integer base converter
number_base_convertConvert integers between bases 2 and 36, including arbitrary-size values, with optional 0x/0b/0o prefixes and explicit input/output base settings.
Instructions
Convert an integer between bases 2 to 36 (arbitrary size). Accepts 0x/0b/0o prefixes. (Same as IT-Tools /base-converter.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"value": "<value>"
},
"name": "number_base_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The number, e.g. "255", "0xff", "11111111" | |
| toBase | No | Extra output base | |
| fromBase | No | Input base; inferred from prefix, else 10 |