random_int
Generates cryptographically random integers in [min, max] (inclusive), using crypto/rand — an actual random value, not a guess. count defaults to 1, max 1000.
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": {
"min": "<min>",
"max": "<max>"
},
"name": "random_int"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | upper bound, inclusive; must be >= min | |
| min | Yes | lower bound, inclusive | |
| count | No | how many numbers to generate, 1-1000, default 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes |