random_float
Generate a random decimal number between a minimum and maximum value, with adjustable precision for simulations, games, and sampling.
Instructions
Generate a random floating-point number between min and max
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_float"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | Maximum value | |
| min | Yes | Minimum value | |
| precision | No | Decimal places (default: 10) |