convert_number_base
Convert numbers between binary, octal, decimal, and hexadecimal bases. Supports base ranges from 2 to 36 for flexible number base conversion.
Instructions
Convert numbers between different bases (binary, octal, decimal, hexadecimal)
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": {
"number": "<number>",
"fromBase": "<fromBase>",
"toBase": "<toBase>"
},
"name": "convert_number_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Number to convert | |
| fromBase | Yes | Source base (2-36) | |
| toBase | Yes | Target base (2-36) |