binomial_probability
Calculate binomial probability P(X=k) and cumulative probabilities for n trials with success probability p, enabling exact and at-most-k success likelihoods.
Instructions
Calculate binomial distribution probability P(X=k) and cumulative probabilities for n trials with probability p.
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": {
"n": "<n>",
"k": "<k>",
"p": "<p>"
},
"name": "binomial_probability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | Number of successes (0 to n). | |
| n | Yes | Number of trials (0-1000). | |
| p | Yes | Probability of success per trial (0 to 1). |