Blackjack basic strategy
blackjack_basic_strategyThe mathematically correct blackjack decision for a given player hand against a given dealer upcard, with the expected value of every available action and the cost of choosing wrong. Covers all 340 hand-versus-upcard situations: hard totals, soft totals and pairs. Multi-deck, dealer stands on soft 17. Figures are computed from published game rules, not estimated.
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>",
"dealer_upcard": "<dealer_upcard>"
},
"name": "blackjack_basic_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hand | Yes | The player hand. A hard total ("16"), a soft total ("soft 18" or "A,7"), or a pair ("pair of 8s", "8 8", "A A"). | |
| dealer_upcard | Yes | The dealer's visible card: 2-10, J, Q, K, or A. |