Convert Units
util_convertConvert Nano amounts between raw and XNO units using a specified value and source/target units.
Instructions
Convert between Nano units (raw, XNO).
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": {
"amount": "<amount>",
"from": "<from>",
"to": "<to>"
},
"name": "util_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target unit: raw or xno | |
| from | Yes | Source unit: raw or xno | |
| amount | Yes | Value to convert (e.g. "1.5") |