calculate_cp
Calculate a Pokémon's CP and actual Attack/Defense/HP for a given level and IVs, with optional Shadow modifiers.
Instructions
CP (and actual Attack/Defense/HP) for an exact IV spread at a given level, 1.0-50.0 in 0.5 increments, IVs 0-15. Set shadow=True to apply the Shadow attack/defense modifiers used by the real game's CP display.
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": {
"pokemon": "<pokemon>",
"level": "<level>",
"attack_iv": "<attack_iv>",
"defense_iv": "<defense_iv>",
"stamina_iv": "<stamina_iv>"
},
"name": "calculate_cp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| shadow | No | ||
| pokemon | Yes | ||
| attack_iv | Yes | ||
| defense_iv | Yes | ||
| stamina_iv | Yes |