exits

Lists the ways out of the area: every door, other placeable or trigger that takes the party to another area, nearest first. Each has leadsTo (the destination area’s tag and waypoint), its kind (placeable or trigger), position, distance and whether it is active.

The easiest way to leave is travel with exit (an id from here) or area. By hand, use a placeable with order action=use, and walk into a trigger by moving to its position. Some doors only decide where they lead when used, so their leadsTo may be empty or show the last destination. Leaving loads the other area, and the game may autosave.

Read-only: it changes nothing in the game.

Arguments

Name Type Required What
near string   Measure distances from this creature, by id. Default: the creature you control.
radius number   Only those within this many meters of near. Default: the whole area.
brief boolean   Return one line per exit (lines) instead of full detail. Default false.

Call it as exits over MCP, or POST /api/tool/exits with the arguments as JSON.