# Configuration reference Reference for the JSON that defines a SquidSolver Pro solve: players, stack and pot units, exact-card ranges and action-tree rules, with examples and a JSON schema. Pro 2.1.2 · Updated 2026-11-29 · Web page: https://squidsolver.com/docs/configuration ## Example configurations and JSON schema | Download | Contents | | --- | --- | | [NLH river](https://squidsolver.com/docs/files/v2.1.1/nlh-river.json) | 3 BB pot, 20 BB stacks, full ranges, half-pot bet. | | [NLH preflop](https://squidsolver.com/docs/files/v2.1.1/nlh-preflop.json) | Narrow ranges and explicit flop, turn and river continuations. | | [PLO 4 river](https://squidsolver.com/docs/files/v2.1.1/plo4-river.json) | 3 BB pot, 4 BB stacks and a small weighted range. | | [Starter JSON schema](https://squidsolver.com/docs/files/v2.1.1/starter.schema.json) | Draft-07 schema for new setups, including the examples above. | The starter schema covers the settings used in these examples. Run `squid config schema` to see all settings accepted by your installed version. > Schema validation checks JSON structure and field constraints. Always run solve estimate before create to check the whole configuration with your selected solver. Do not put a $schema field inside the solve JSON; unknown configuration fields are rejected. ## Configuration file structure ```json { "scenario": { "name": "river-study", "street": "river", "big_blind": 1.0, "dead_money": 3.0 }, "productMetadata": {} } ``` This is a structure illustration, not a complete runnable file. Start from a downloaded example, which also contains players, board, ranges and the action tree. Ordinary NLH can use an empty productMetadata object. Keep the PLO example’s omahaSolver settings for a first PLO run. Use a new ID made from letters, digits, underscores or hyphens. --id overrides an ID in the file; --name sets the display name. Check solve list before creating an ID that might already exist. ## Units, stacks and the pot | Field | Meaning | | --- | --- | | big_blind | Set to 1.0 for a configuration denominated in big blinds. | | players[].stack | Stack at the start of this setup, including any forced blind or ante entered for that player. | | players[].blind / ante | That player’s forced posts. Use zero for a normal postflop root. | | dead_money | Money already in the pot. At a postflop root, enter the existing pot here once. | | first_player | Zero-based index of the player who acts first. | | players / ranges | Matching arrays: ranges[0] belongs to players[0], and so on. | Stack and pot amounts are rounded to 0.01. Position names are bu, co, mp, ep, u3, u2, u1, bb and sb. Use bu for the button, not btn. ## Cards and ranges Cards use ranks 2–9, T, J, Q, K, A and suits c, d, h, s. A JSON board is an array such as ["As","Kd","7c","2h","9s"]. Preflop has no board; flop has three cards, turn four and river five. Cards cannot repeat. ```json {"combos":[{"cards":"AhAd","weight":1.0},{"cards":"QhQd","weight":0.5}]} ``` Use exact two-card NLH or four-card PLO combinations. Weights are frequencies between 0 and 1. Shorthand such as AA, AKs, 22+ or a range percentage is not accepted in this JSON format. Expand hand classes into their individual combinations. Use {"uniform_all":true} for all hands. When uniform_all is true, a combos list is ignored. Avoid empty or all-zero ranges, duplicate hands and impossible deals. There must be enough compatible hands across players after the board’s cards are removed. The CLI --board argument uses one concatenated string, AsKd7c2h9s, rather than a JSON array. A later readout board must extend the starting board. ## Action-tree rules actionTree.rules contains the actions to offer. A rule’s streets array is ordered preflop, flop, turn, river. Its betActions rows instead describe successive bets and raises. | Row index | Postflop | Preflop | | --- | --- | --- | | 0 | Opening bet | Unused | | 1 | First raise | Opening raise | | 2 | Second raise | Three-bet | | 3 | Third and later raises | Four-bet | ```json {"betActions":[[{"size":"50%"}],[],[],[]],"streets":[false,true,true,true]} ``` This rule fragment offers a half-pot opening bet on each postflop street. Merge it into a complete example rule. Empty rows offer no sizes. A positive cap stops aggression at that slot: cap 1 allows only the opening bet postflop; cap 2 allows only the opening raise preflop. cap 0 adds no extra cap. | Size | Meaning | | --- | --- | | 50% / 100% | Pot-based size, written as an integer percentage. | | 2.5bb | Total commitment on this street in big blinds. | | 3x | Raise multiplier. | | 2e | Geometric sizing over the specified number of streets. | | Min / All-in | Minimum legal size or all-in, subject to the game’s limits. | positions contains ten booleans ordered bu, co, mp, ep, u3, u2, u1, reserved, bb, sb. Use all true for an unrestricted rule. relativePosition is null for either, 0 for in position and 1 for out of position. playerCount 0 or null means any count. potType selects unraised, single-raised, three-bet and four-bet-or-higher pots. The legal actions also depend on stack and pot limits, call controls, all-in settings and size merging. Keep the example’s populationOptions while learning the format. New configurations should use capBoundaryAllInMode finalAllowedAggression. > For preflop, include explicit rules for the intended flop, turn and river continuation. The supplied preflop example includes half-pot postflop bets. A deliberate checkdown tree is valid, but should be an intentional part of the setup. ## Solving and saved readouts | Field | Use | | --- | --- | | saveEv | Four entries ordered preflop, flop, turn, river. Positive entries retain EV for that street; the examples use 1000. Zero disables it. | | saveStrategy | Four booleans in the same street order. Keep the streets you want to study or export enabled. | | training.threadCount | A positive CPU thread count. Default is 1. | | training.seed | Unsigned integer seed. Multiple threads are not guaranteed to produce bit-for-bit identical runs. | | training.iterations | Does not automatically start a CLI-created solve. Set the run target with --iterations or --add. | Estimate again after changing ranges or the action tree. For advanced configuration fields, use the installed schema together with help for solve estimate and solve create.