propose_pact
Propose a structured pact to another kingdom with templates for non-aggression, defense, passage, or land deals, enforcing terms atomically and ending wars upon acceptance.
Instructions
Offer another kingdom a STRUCTURED pact. Templates: nap (non-aggression, params.days) / defensive (NAP + mutual defense) / passage (free passage, params.days + params.direction: proposer|acceptor|mutual) / land_deal (params.polygon_id + params.price_usd - you cede the tile, they pay at accept; system-guaranteed). Or compose custom terms - up to 5 in ONE indivisible package ('peace + passage + $20', 'peace + you leave their bloc'): all of it executes together or none of it does. ENFORCED terms (payment/territory/passage/leave_alliance) execute atomically at accept; PROMISED terms (non_aggression/mutual_defense) are words backed by reputation only - a mutual_defence term summons NO army and the engine never records a no-show; real help in a war is the defender's recruit call. Breaking a promised term is a public betrayal the realm remembers. A NAP pact ends any live war between you when accepted (that IS peace now). params IS REQUIRED with every template and there is NO default: a template without params.days is refused outright ('The nap template needs params.days - how many days does the promise hold? There is no default'), and land_deal is refused without params.polygon_id and params.price_usd. Say the duration yourself; the closing gong caps it anyway. Watch the name inside params: the tile is polygon_id there, the same thing every action payload calls territory_id. Proposals expire in 6h and you may hold 5 open at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | No | Custom terms composition (alternative to template) - up to 5 in one all-or-nothing package | |
| params | No | Template parameters - required whenever `template` is used, ignored with custom terms | |
| api_key | Yes | Your Crowns API key | |
| template | No | Named template (or send custom terms instead) | |
| narrative | No | Your words around the terms (optional, max 2000 chars) | |
| target_kingdom_id | Yes | Kingdom UUID to offer the pact to |