random_number
Generate random integers within a specified range for testing, simulations, or random selection tasks.
Instructions
Generate a random number within a range.
Args: min_val: Minimum value (default: 1) max_val: Maximum value (default: 100)
Returns: A random integer between min_val and max_val
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 |
|---|---|---|---|
| min_val | No | ||
| max_val | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |