Skip to content

Command schemas

One page per command in the engine's registry, each carrying the model's JSON Schema and the session modes that accept it. The complete command surface as a single discriminated union (keyed on command_type) is downloadable as commands.json — load it as a tool definition or validate requests against it without scraping these pages.

Command Wire type Legal modes
AdvanceTime advance_time battle, encounter, exploring, game_over, town
AwardXP award_xp battle, encounter, exploring, game_over, town
CastSpell cast_spell exploring, town
CloseDoor close_door exploring
DropItems drop_items encounter, exploring
EngageBattle engage_battle encounter
EnterDungeon enter_dungeon town
EquipItem equip_item exploring, town
Evade evade encounter
ExtinguishSource extinguish_source exploring, town
ForceDoor force_door exploring
GrantCoins grant_coins battle, encounter, exploring, game_over, town
GrantItem grant_item battle, encounter, exploring, game_over, town
IdentifyItem identify_item battle, encounter, exploring, game_over, town
InspectTreasure inspect_treasure exploring
LightSource light_source exploring, town
ListenAtDoor listen_at_door exploring
MoveParty move_party exploring
OpenDoor open_door exploring
Parley parley encounter
PickLock pick_lock exploring
PlaceParty place_party battle, encounter, exploring, game_over, town
PrepareSpells prepare_spells exploring, town
PurchaseEquipment purchase_equipment town
PurchaseHealing purchase_healing town
RemoveTreasureTrap remove_treasure_trap exploring
ReorderParty reorder_party exploring, town
ResolveBattleRound resolve_battle_round battle
Rest rest exploring, town
RollDice roll_dice battle, encounter, exploring, game_over, town
Search search exploring
SellTreasure sell_treasure town
SetDoorState set_door_state battle, encounter, exploring, game_over, town
SetFlag set_flag battle, encounter, exploring, game_over, town
SpawnMonsters spawn_monsters battle, encounter, exploring, game_over, town
SpawnNpcParty spawn_npc_party battle, encounter, exploring, game_over, town
TakeTreasure take_treasure exploring
TravelToTown travel_to_town exploring
TurnParty turn_party exploring
TurnUndead turn_undead encounter
UnequipItem unequip_item exploring, town
UseItem use_item encounter, exploring
UseStairs use_stairs exploring
Wait wait encounter
WedgeDoor wedge_door exploring