Compare enhancements against a unit
compare_enhancementsSimulates the attacking unit once with each enhancement its characters, including attached leaders, can take in the attacker's detachment, and once with none, against the defender, as simulate_combat does. Takes the same sides as simulate_combat; name the attacker's detachment, since enhancements come from it. Any enhancement the sides name is replaced by the one being compared. points keeps only enhancements costing that much or less, such as the points a list has spare. mode ranks shooting followed by melee (combined), or one phase. Returns without, the result with no enhancement, and enhancements, best first, each with its bearer, points and outcome. An enhancement with notCalculated has rules the simulator cannot estimate, so its outcome leaves them out; say so rather than ranking it. It compares damage against this one defender only, never what an enhancement does for movement, durability elsewhere or scoring.
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>"
},
"name": "compare_enhancements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What to rank by: shooting followed by melee (combined), shooting alone (ranged), or melee alone. | combined |
| points | No | Only enhancements costing at most this many points, such as the points the list has left. | |
| attacker | Yes | ||
| defender | Yes | ||
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| modifiers | No | Situational modifiers the simulator page offers, such as { "all": { "cover": true, "hitModifier": -1 } }, { "melee": { "charged": true } }, or { "target": { "invulnerable": 4 } }. commandReroll spends one Command Re-roll per phase on the first failed hit, wound, or save roll, or the first single-die Attacks roll below its average; compare with a run without it to judge the CP. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |