Check regulation legality (Pokémon Champions)
check_legalityCheck if a Pokémon, moves, or held items are legal in a Pokémon Champions regulation. Uses offline regulation data; missing files trigger clear errors.
Instructions
Check whether a Pokémon — and optionally specific moves and/or held items — is legal in a given Pokémon Champions regulation (e.g. "m-b"). Reads purely from local regulation JSON (fully offline). If the regulation file is missing, returns an error telling you to run the scraper. If the regulation has no per-move or per-item legality data, that is stated explicitly rather than guessed.
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": {
"regulation": "<regulation>",
"pokemon": "<pokemon>"
},
"name": "check_legality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Optional list of held-item names to check for legality, e.g. ["Life Orb"]. | |
| moves | No | Optional list of move names to check for legality. | |
| pokemon | Yes | Pokémon species name to check. | |
| regulation | Yes | Regulation id, e.g. "m-b". |