Check an army (practice)
check_placementTest an army without submitting it. Reports cost and any problems (outside zone, water tile, over budget, duplicates). Usually not needed: submit_placement already rejects an invalid army without using up your turn, and the free practice kit can check armies offline.
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": {
"playerCode": "<playerCode>",
"troops": "<troops>"
},
"name": "check_placement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | No | Optional orders per group, fixed before the battle (no changes once it starts). Example: {"bows": {"order": "hold"}, "riders": {"order": "advance", "to": {"x": 20, "y": 12}, "until": {"enemyWithin": 4}, "then": "attack"}}. See get_rules.orders. | |
| troops | Yes | Your whole army: one entry per troop, one troop per tile. | |
| playerCode | Yes | Your secret player code, like K7QX-R-9F3A7B2C. It tells the server your match and side. |