turn_plan
Check a proposed D&D turn against SRD 5.2.1 action economy: action, bonus action, reaction, movement, spell slots, and conditions. Returns legal/illegal verdicts with citations.
Instructions
Judge a whole proposed turn under SRD 5.2.1 ACTION ECONOMY: action/bonus-action/reaction/free-interaction budgets, movement (crawling, standing from Prone, Grappled speed 0), Incapacitated, and the one-spell-slot-per-turn rule. Returns legal/illegal/cannot-adjudicate with citations; illegal verdicts name the first offending step. Scope: this checks the turn's economy only — it does NOT verify that a feature grants a given action (e.g. two-weapon fighting or Extra Attack prerequisites). Unmodeled conditions and out-of-range inputs (negative speed, spell level >9) return exit 2 rather than a guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | proposed steps in order | |
| speed | Yes | the creature's Speed in feet | |
| spent | No | budgets already used this turn | |
| conditions | No | active conditions by name (all 15 are registry-classified for this turn-economy surface; unknown names are refused) | |
| request_id | No | ||
| table_policy | No | ||
| asserted_facts | No | ||
| policy_context | No | ||
| table_decision | No | ||
| exhaustion_level | No | required to adjudicate movement when Exhaustion is present (reduces Speed 5 ft per level) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | Yes | ||
| data | No | ||
| facts | Yes | ||
| adapter | Yes | ||
| verdict | Yes | ||
| rule_ids | Yes | ||
| citations | Yes | ||
| exit_code | Yes | ||
| assumptions | Yes | ||
| explanation | Yes | ||
| rule_result | Yes | ||
| checked_scope | Yes | ||
| coverage_level | Yes | ||
| state_mutation | Yes | ||
| table_decision | Yes | ||
| unchecked_scope | Yes |