combat_calculator
Resolve Magic: The Gathering combat step-by-step, including keyword interactions and state-based actions.
Instructions
Calculate combat step-by-step with keyword interactions.
Resolves declare attackers → declare blockers → damage steps → state-based actions. Looks up card keywords from bulk data if card names are provided.
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": {
"attackers": "<attackers>",
"blockers": "<blockers>"
},
"name": "combat_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attackers | Yes | Attacking creature names or descriptions | |
| blockers | Yes | Blocking creature names or descriptions | |
| keywords | No | Additional keyword abilities to consider (e.g. 'deathtouch', 'trample') | |
| response_format | No | Output verbosity: 'detailed' (default) or 'concise' | detailed |