finance-amount
Generate a random monetary amount between inclusive minimum and maximum bounds, with configurable decimal places, currency symbol, and number formatting for testing and mock financial data.
Instructions
Generates a random amount between the given bounds (inclusive).
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": "finance-amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dec | No | The number of decimal places for the amount. | |
| max | No | The upper bound for the amount. | |
| min | No | The lower bound for the amount. | |
| symbol | No | The symbol used to prefix the amount. | |
| autoFormat | No | If true this method will use Number.toLocaleString(). Otherwise it will use Number.toFixed(). |