Number base converter
number_baseConvert an integer between bases 2–36 (binary, octal, decimal, hex and more), exact for 64-bit values via BigInt. Runs on smart-tools.xyz.
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>",
"from_base": "<from_base>"
},
"name": "number_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The integer to convert (may use 0x/0b/0o prefix, spaces or _ as separators) | |
| locale | No | Language for the source_url link (default en) | |
| to_base | No | Base to convert to, 2–36 | |
| from_base | Yes | Base of the input, 2–36 |