Draw odds
draw_oddsExact (hypergeometric) chance of drawing at least N of something by a given turn, with the table for turns 1-10, the same as the website's odds calculator. Target: "lands", "role:" (e.g. role:land_ramp) or a card name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "draw_odds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turn | No | Default 3. | |
| cards | No | Alternative to decklist: [{"name": "Sol Ring", "qty": 1}, ...] or plain names. | |
| target | No | "lands", "role:<key>" or a card name. Default lands. | |
| on_play | No | Default true. | |
| at_least | No | Default 1. | |
| decklist | No | The deck as text: one "1 Card Name" per line. Moxfield, Archidekt and Arena exports, .dek XML and CSV work; a "Commander" header line (or *CMDR*) marks the commander. | |
| commander | No | Commander name, if the list does not mark it. Otherwise it is detected like on the website. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turn | No | Turn asked about. | |
| method | No | How it was calculated. | |
| target | No | What was counted. | |
| by_turn | Yes | Turns 1-10. | |
| percent | Yes | Chance by that turn, %. | |
| at_least | No | How many needed. | |
| on_the_play | No | On the play (no draw on turn 1). | |
| library_size | No | Library size. | |
| copies_in_library | No | Copies of the target in the library. |