calculate_matchup
Damage multiplier when an attacking type hits one or two defending types. Returns 0x, 0.25x, 0.5x, 1x, 2x or 4x.
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": {
"attacking": "<attacking>",
"defending": "<defending>"
},
"name": "calculate_matchup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attacking | Yes | Attacking type id, e.g. "ice". | |
| defending | Yes | One or two defending type ids, e.g. ["dragon", "flying"]. |