UnitScale
Scale an integer amount from one decimal size to another.
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_decimals": "<from_decimals>",
"to_decimals": "<to_decimals>"
},
"name": "UnitScale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| to_decimals | Yes | ||
| from_decimals | Yes |