format_money
Format an amount in any currency and locale, compact form, and optionally in words (for cheques and contracts). (cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "format_money"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| words | No | boolean | |
| amount | No | number, required | |
| locale | No | default en-GB | |
| currency | No | ISO code, default GBP |