Optimize offensive SP spread
optimize_offensive_spreadFind the minimum attacking SP and nature needed to reach a target damage ratio against a specific defender.
Instructions
Find the minimum attacking SP and nature needed to reach a target damage ratio. Use canonical current-format formes from get_pokemon_options when the user asks about a Mega/forme.
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>",
"targetDamageRatio": "<targetDamageRatio>"
},
"name": "optimize_offensive_spread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | Yes | ||
| context | No | ||
| attacker | Yes | ||
| defender | Yes | ||
| spBudget | No | ||
| offensiveStat | No | ||
| allowedNatures | No | ||
| targetDamageRatio | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| koChance | Yes | ||
| requiredSP | Yes | ||
| inputCorrections | No | ||
| modifierBreakdown | Yes | ||
| recommendedNature | Yes | ||
| resultingDamageRange | Yes | ||
| isFeasibleUnderBudget | Yes |