Calculate damage for one move
calculate_damageCalculate how much damage one move does from one Pokémon to another in Pokémon Champions doubles: the damage range, the share of the defender's HP, and the chance to knock it out. Use it instead of estimating damage. Any part of a set that is left out is filled in from the regulation's usage statistics and listed under assumptions. A move that hits both opponents is calculated at its reduced doubles damage unless singleTarget is set. This is one calculation, not a battle simulation: it does not account for the rest of the turn, switching or luck beyond the damage roll and critical hits.
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": {
"attacker": "<attacker>",
"defender": "<defender>",
"move": "<move>"
},
"name": "calculate_damage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | Yes | Move name, for example "Earthquake" | |
| field | No | Battle conditions. Leave out for none. | |
| format | No | Regulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C). | |
| attacker | Yes | The Pokémon using the move | |
| defender | Yes | The Pokémon being hit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | Yes | ||
| damage | Yes | ||
| format | Yes | Regulation id the result applies to | |
| attacker | Yes | ||
| defender | Yes | ||
| knockOut | No | Absent when the move deals no damage | |
| conditions | Yes | ||
| formatName | Yes | Display name of the regulation | |
| 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. | |
| description | Yes | The calculation in standard damage-calc notation | |
| noDamageReason | No |