random_interval
Generate a random number uniformly between given minimum and maximum bounds, with optional integer or float type.
Instructions
Sample uniformly between bounds; kind='integer' includes both endpoints.
Float sampling can include the upper bound through rounding. Equal bounds return that value. Integer bounds must be whole numbers.
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": {
"minimum": "<minimum>",
"maximum": "<maximum>"
},
"name": "random_interval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | float | |
| maximum | Yes | ||
| minimum | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes |