Get preflop range
get_rangeThe GTO range for one spot. spot is an action path of POSITION_ACTION pairs ending in the action whose range you want, e.g. NLHE cash "UTG_60%_HJ_Call", nlmtt8 "UTG_Open", or PLO "UTG_Open_HJ_3B". Add hand for one exact frequency and EV. Compact mode is default; PLO returns representative pure/mixed hands unless a hand is specified; plo5 returns the top hands by EV that take the action (limit up to 500 compact, 2000 full).
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": {
"game": "<game>",
"stack": "<stack>",
"spot": "<spot>"
},
"name": "get_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | "nl" = no-limit hold'em 6-max cash (169-grid hands, per-hand EV in small blinds), "nl9" = no-limit hold'em 9-max cash, "nlmtt8" = no-limit hold'em 8-max MTT chip-EV (10–300bb, 1bb BB-ante; Fold/Call/Limp/AI/Open/3B tokens), "nlh8-hydra" = no-limit hold'em 8-max MTT chip-EV with a classic 0.1bb ante from every seat (10, 20, 30, 60bb; same tokens as nlmtt8), "nlh8-icm" = no-limit hold'em 8-max MTT with ICM: one stack table per scenario (near the money, 33 or 35 left of 200, 30 paid; final table, 8 left), uneven stacks, 0.125bb ante from every seat, EVs in tournament dollars; pass scenario (the games catalog lists them; stack alone works only where one table has that depth); decision nodes only, "nlhu" = no-limit hold'em heads-up for the title, chip-EV, both players at the stack (1–40bb), 0.125bb ante each, SB on the button; decision nodes only, "plo" = pot-limit Omaha 6-max cash (4-card), "plo5" = pot-limit Omaha 5-card 6-max (100bb, 1.2bb ante), "plo9" = pot-limit Omaha 9-max cash, "plo4hu" = pot-limit Omaha 4-card heads-up cash (SB vs BB at 10bb, 20bb, 30bb, 40bb, 50bb, 75bb, 100bb or 200bb, limps allowed, 4.5% rake capped at 0.045bb; history starts "SB"), "plo6hu" = 6-card Omaha heads-up (BTN vs BB, 100bb). Cash trees are not tournament, ICM, PKO, or satellite solves. nlmtt8, nlh8-hydra and nlhu are chip-EV; only nlh8-icm is ICM. | |
| hand | No | Optional hand/class, e.g. AKs; for 4-card PLO either cards (AsJsAhJh) or a class with suited cards in parentheses ((JA)(JA)) | |
| spot | Yes | Action path ending in an action | |
| limit | No | Maximum compact rows to return (default 120, maximum 500). | |
| stack | Yes | Stack depth in big blinds, e.g. 100 | |
| detail | No | Response detail. "compact" is the default and removes bulk maps; use "full" only when exact complete data is required. | |
| minFreq | No | Drop hands at or below this weight (PLO ranges are large) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ev | No | Full detail: EV of the requested hand in small blinds. | |
| evs | No | Hand class to EV, only where the solved bundle scored the hand. | |
| evSb | No | EV of the requested hand in small blinds. | |
| freq | No | Full detail: frequency of the requested hand. | |
| game | No | Preflop game id, e.g. "nl" or "nlmtt8". | |
| hand | No | The requested hand, when one was asked for. | |
| hint | No | How to narrow, page, or widen the same query. | |
| kind | No | plo5: the action family. | |
| spot | No | Action path ending in an action, echoed from the request. | |
| actor | No | Position to act at this node. | |
| hands | No | Hand classes in the range. | |
| range | No | Compact rows in `columns` order. | |
| stack | No | Stack depth in big blinds. | |
| action | No | plo5: the action the range belongs to. | |
| combos | No | Combos in the range. | |
| columns | No | Column order for `range`: hand, frequency, evSb. | |
| history | No | Action path ending in the acting position. | |
| summary | No | What the compact range left out, so nothing looks complete when it is sampled. | |
| version | No | Dataset version where the bundle publishes one. | |
| weights | No | Hand class to frequency. An omitted class has weight 0. | |
| frequency | No | Frequency of the requested hand, 0 to 1. |