probability_consecutive_rolls
Calculates the probability of rolling a specific value consecutively for a given number of rolls on a die with specified sides using the formula (1/num_sides)^num_rolls. Returns probability as a decimal between 0 and 1. (cost: 1 credit)
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": "probability_consecutive_rolls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num_rolls | No | integer, required, number of consecutive rolls (must be positive) | |
| num_sides | No | integer, required, number of sides on the die (must be positive) | |
| target_value | No | integer, required, the target value to roll (must be between 1 and num_sides) |