hex_to_dec
Convert hexadecimal strings to decimal numbers, accepting input with or without the 0x prefix. Perform base conversion for reverse engineering and development workflows.
Instructions
Convert a hex string to decimal
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": {
"hex": "<hex>"
},
"name": "hex_to_dec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | Hex value (with or without 0x prefix) |