Probability Calculator
calculator_probabilityP = favorable / total. Returns decimal and percentage.
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": {
"favorable": "<favorable>",
"total": "<total>"
},
"name": "calculator_probability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total outcomes (>0). | |
| favorable | Yes | Favorable outcomes (>=0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| percentage | No | ||
| probability | Yes |