convert_number
Convert decimal or hexadecimal numbers between different representations for reverse engineering analysis in IDA Pro.
Instructions
Convert a number (decimal, hexadecimal) to different representations
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": {
"text": "<text>",
"size": "<size>"
},
"name": "convert_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Textual representation of the number to convert | |
| size | Yes | Size of the variable in bytes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ascii | Yes | ||
| bytes | Yes | ||
| binary | Yes | ||
| decimal | Yes | ||
| hexadecimal | Yes |