currency_code
Translate between 3-character ISO currency codes and their 160-bit hex forms. Non-standard 160-bit codes pass through unchanged. Operates offline.
Instructions
Convert a currency between 3-char ISO code (e.g. USD) and its 160-bit/40-hex form. Non-standard 160-bit codes pass through. Offline.
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": {
"input": "<input>"
},
"name": "currency_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | a 3-char code or a 40-hex currency |