calculate_powerup_cost
Calculate the Stardust, Candy, and Candy XL required to power up any Pokémon between two levels, with adjustments for Shadow, Purified, and Lucky status.
Instructions
Total Stardust/Candy/Candy XL to power up from current_level to target_level. Cost does not depend on species - it's the same for every Pokemon at a given level. Shadow adds a Stardust+Candy surcharge, Purified gives a Stardust+Candy discount, Lucky gives a Stardust-only discount (candy cost is unaffected). A Pokemon can be Lucky and Purified at the same time, but never Shadow and Lucky/Purified at the same time.
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": {
"current_level": "<current_level>",
"target_level": "<target_level>"
},
"name": "calculate_powerup_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lucky | No | ||
| shadow | No | ||
| purified | No | ||
| target_level | Yes | ||
| current_level | Yes |