calculate_equity
Texas Hold'em or Pot Limit Omaha equity for 2-4 specific hands on 0-5 community cards, returning win, tie, and total equity percentages per hand. Hold'em enumerates every remaining board runout (no simulation). Omaha (game: "omaha", four-card hands, best two play) is exact on every postflop street and scores a deterministic 200,000-board sample preflop (±0.2 percentage points, same input always reproduces).
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": {
"hands": "<hands>"
},
"name": "calculate_equity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Game type; defaults to "holdem". "omaha" requires exactly 4 cards per hand. | |
| board | No | 0-5 community cards, e.g. "9h8h2c". Omit for preflop. | |
| hands | Yes |