Combat Encounter Management
manage_combatStart, advance, or end combat encounters in the active Novel and add or remove participants; read status without changing state. Mutating actions persist and are audited.
Instructions
Manage combat encounters in the active Novel. Mutating actions persist to the Novel and are audited; read-only actions do not mutate state. Revert the most recent mutation with manage_history (action: undo). init's seed only reorders the danger set; participants keep their given order. Use when: starting, advancing, ending a fight, or changing its participants. Do NOT use when: applying a status effect — use manage_condition (action: apply).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional deterministic seed (init). | |
| action | Yes | init, advance, end, add_participant, remove_participant, or status. | |
| dangers | No | Optional non-entity combatants (init). | |
| outcome | No | Optional text describing how combat ended (end). | |
| participants | No | Entity identifiers participating (init). | |
| participant_id | No | Entity identifier (add_participant/remove_participant). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |