Analyze a heads-up PLO4 hand
analyze_hu_plo_handOne heads-up PLO4 hand, as played, against the flop blueprint in one call: every flop decision mapped onto the blueprint tree (sizes to the nearest blueprint size), and for each of the hero's decisions the best action, every action's EV for the exact hand, the loss of the action played (bb and % of pot), whether it counts as a mistake, the hand's percentile in its range and the opponent's response to each action. Pass hand exactly as pokerstudy.ai's get_hand returns it in raw.hand (players with startingStack and cards; actions with street, actionType and amount, raises as "raise to") and hero (raw.hero). The stack is matched to the nearest blueprint depth. When this exact turn spot has been solved, turnDecisions gives the same answers for every turn decision; otherwise pass solve_turn: true to queue a GPU solve of it (about 2 to 4 minutes) and call again. Rivers work the same way: when the turn is solved and the hand reached the river, riverDecisions gives every river decision from an exact river solve that starts from the turn solve's own river ranges, and solve_turn: true queues that solve when it is missing.
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": {
"hand": "<hand>",
"hero": "<hero>"
},
"name": "analyze_hu_plo_hand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hand | Yes | Parsed hand: { bigBlind, players: [{ playerName, startingStack, cards }], actions: [{ playerName, actionType, amount, street }], communityCards }. | |
| hero | Yes | Hero's player name in the hand. | |
| mistake_bb | No | Loss in bb above which a decision counts as a mistake (default 0.1). | |
| solve_turn | No | When the hand's turn (or, once the turn is solved, river) spot is not solved yet, queue a solve for it (about 2 to 4 minutes; call again for the decisions). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flop | No | Flop in spaced form. | |
| game | No | "plo4hu". | |
| hero | No | Hero's player name. | |
| turn | No | When the hand saw a turn: the spot (stack, preflop, flopLine, board, potBb, behindBb, turn sizes), spotId, whether it is solved, and `solve` when a solve was queued. | |
| error | No | Present instead of a payload when the request named something that does not exist. No figure is estimated in its place. | |
| notes | No | Mapping notes. | |
| river | No | When the turn is solved and the hand saw a river: the river spot (turnSpot, turnLine, card, potBb, behindBb, riverBets), spotId, whether it is solved, and `solve` when a solve was queued. | |
| stack | No | Blueprint depth used (nearest to the effective stack). | |
| units | No | What the EV numbers mean. | |
| handId | No | Hand id when the input had one. | |
| heroPos | No | "SB" or "BB". | |
| preflop | No | Preflop line in blueprint names, e.g. "SB_Open_BB_Call". | |
| decisions | No | Flop decisions in order. | |
| heroCards | No | Hero's four cards. | |
| turnDecisions | No | Turn decisions in order, when the spot is solved. | |
| riverDecisions | No | River decisions in order, when the river spot is solved. | |
| effectiveStackBb | No | Effective stack in the hand, in big blinds. |