Plan a six-versus-six matchup
plan_matchupPlan a matchup between two teams of six: which four to bring, which two to lead, and who handles each of the opponent's threats. The opponent can be given as names alone or as an open team sheet; anything missing comes from usage statistics, and the result lists what was filled in. Every pair is judged with find_counters' verdicts (Counter, Check, Trade, Loses), counting the team's KOs only when they are at least 50% likely and the opponent's from the earliest possible hit unless a likely count can be shown. The bring favours the four that leave none of the opponent's biggest threats unanswered and heavily avoids a four that one opponent can beat three of; Tailwind, Trick Room, Icy Wind, Electroweb, Fake Out and Intimidate earn a small bonus only when they change a Speed order or a verdict. The lead is the pair with the best worst case against all 15 possible opposing leads, since no doubles lead data is published. Exact scoring: Bring: for each opponent, weight = 7 - threat rank (rank by Loses count, then outspeeds count); add weight × best answer (Counter=4, Check=2, otherwise=-6), subtract 30 × (losses-2) when it beats >=3 selected members. Add at most 2 total for beneficial speed control and 1 total for beneficial disruption. Lead: sum over the 2×2 cells [4 × (my likely OHKO - their pessimistic OHKO) + 2 × (my likely 2HKO - their pessimistic 2HKO) + Speed sign (+1/0/-1)], plus at most 1 for conditional Fake Out that improves a verdict. Maximise the minimum over all 15 opponent pairs. Ties use input order. These are single hits, not a battle simulation: partner support beyond those bonuses, move priority, accuracy, switching, screens and stat changes are not counted. It does not check Species or Item Clause; use validate_team for that.
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": {
"team": "<team>",
"opponent": "<opponent>"
},
"name": "plan_matchup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | ||
| format | No | Regulation id from list_formats. Defaults to "champions-regma" (Pokémon Champions — Regulation M-A). | |
| opponent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| back | Yes | ||
| lead | Yes | ||
| team | Yes | ||
| bring | Yes | ||
| format | Yes | Regulation id the result applies to | |
| matrix | Yes | ||
| threats | Yes | ||
| opponent | Yes | ||
| formatName | Yes | Display name of the regulation | |
| speedNotes | Yes | ||
| assumptions | Yes | Everything the calculation assumed, including any part of a set that was filled in because it was not given. Tell the user about these. | |
| alternatives | Yes |