number_base_converter
Convert numbers between binary, octal, decimal, and hexadecimal by specifying the source base and the number value.
Instructions
Convert numbers between binary, octal, decimal, and 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": {
"value": "<value>",
"from_base": "<from_base>"
},
"name": "number_base_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The number to convert (as a string to support all bases) | |
| from_base | Yes | Source base: 2=binary, 8=octal, 10=decimal, 16=hex |