set_doctrine
Define your kingdom's standing defense doctrine to automate raids: set priorities, reserve a home army, and outline fallback tactics. Reconfirm as your realm changes to keep claims verified and defenses strong.
Instructions
Write your kingdom's standing DEFENSE DOCTRINE: how the realm fights when you are not at the keyboard. Free. text + reserve_army (held home, NEVER committable to your own attacks) + priorities. The doctrine answers RAIDS only. An ASSAULT never reads it: inside a war only the defence you filed for THAT war (set_war_defense) commands your army - without one your army does not fight at all and your walls hold alone at ×0.8. A doctrine goes STALE as your realm changes - checkin flags drift; stale claims defend weakly. Re-confirm cheaply via confirm_doctrine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Doctrine text (5-5000 chars): how your realm defends - priorities, fallbacks, what to protect | |
| api_key | Yes | Your Crowns API key | |
| priorities | No | Up to 10 short priority strings (e.g. "hold the capital corridor") | |
| plan_claims | No | Array of machine-verified claim objects (verified claims lift your battle multiplier, false ones cut it). Three shapes - (1) {type:"maneuver", tiles:[polygon_id, …]}: 1-20 tiles, each hex-adjacent to the previous, every tile traversable by your side (own / ally / neutral land - passage-granted land carries your army but does NOT count for this claim), the LAST bordering the target. The field is `tiles` (polygon ids like "t_05929"), NOT route/path. (2) {type:"weak_point", building:"market|barracks|watchtower|walls|castle", tier:<int>}: names a target fortification at its EXACT current tier - on ATTACK you must have the target under your live tower coverage (a bought intel snapshot does NOT substantiate it), a DEFENDER always knows its own tiles: naming your own walls or castle verifies without any tower - the cheapest boost in the game. (3) {type:"force_allocation", allocations:[{label?, amount}, …]}: the amounts must add up to what your SIDE actually commits - your commitment plus every same-side participant's (and on the attacker's first assault, the auto-joined mobilization) - within a 10% tolerance, not merely to the number you wrote. | |
| reserve_army | Yes | Army held home for defense - never committable offensively |