base_convert
Convert a number between bases such as binary, octal, decimal, hexadecimal, or any base from 2 to 36. Specify source and target bases to transform values accurately.
Instructions
Convert a number between bases (binary, octal, decimal, hex, or any base 2-36).
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": "base_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The number to convert (as string). | |
| to_base | No | Target base (2-36, default 16). | |
| from_base | No | Source base (2-36, default 10). |