calc_equity
Monte Carlo simulation to estimate hero equity in Texas Hold'em. Input hole cards, board, and number of opponents to compute win probability.
Instructions
Estimate hero equity via Monte Carlo against random opponents.
Args: hole: Hero's two hole cards, e.g. ["As", "Ah"]. board: Known community cards (0, 3, 4, or 5), e.g. ["Kd", "7c", "2h"]. num_opponents: Number of random opponents to simulate against. mc_trials: Number of random rollouts to run.
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": {
"hole": "<hole>"
},
"name": "calc_equity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hole | Yes | ||
| board | No | ||
| mc_trials | No | ||
| num_opponents | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tie | Yes | ||
| win | Yes | ||
| loss | Yes | ||
| equity | Yes | ||
| trials | Yes | ||
| num_opponents | Yes |