tool_base_converter
Convert numbers between binary, octal, decimal, and hexadecimal bases. Provide a value and its input base to receive conversions in all common bases.
Instructions
[utility] Base Converter
Parameters:
value (string): Value
fromBase (string): Input Base
Outputs:
binary (string): Binary
octal (string): Octal
decimal (string): Decimal
hex (string): Hex
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tool_base_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | Hex | |
| octal | No | Octal | |
| value | No | Value | |
| binary | No | Binary | |
| decimal | No | Decimal | |
| fromBase | No | Input Base |