Secure random numbers in a range, or a random pick from a list
random_numberCryptographically secure, unbiased randomness: whole numbers between min and max (default 1 to 100), or random picks from a list of choices, one or up to 100 per call. Useful because language models are bad at being random: fair draws, sampling, shuffling decisions, and A/B assignment. Not charged for invalid options. Paid via x402; see list_prices.
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": "random_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Highest value (default 100). | |
| min | No | Lowest value (default 1). | |
| count | No | How many, 1 to 100 (default 1). | |
| choices | No | Optional list to pick from instead of a number range. |