Table of Contents

Class DMToolExecutor

Namespace
GrindFest.GameMaster
Assembly
GrindFest.dll

Executes DM tool calls from the file bridge. Each tool maps to a game action (spawn, speak, place, etc). Returns a string result describing what happened.

Tools: spawn — spawn creature/NPC place — place structure/object speak — make character say something describe-tile — set biome, name, level on a WorldTile equip — give item to character set-weather — change weather observe — get full world state list-prefabs — list available prefabs by category announce — big center-screen notification configure — set properties on a placed/spawned object inspect — discover configurable properties on an object or prefab

public class DMToolExecutor
Inheritance
object
DMToolExecutor

Constructors

DMToolExecutor()

Properties

ToolNames

All registered tool names for system prompt generation.

Methods

Execute(string, JObject)
GetDescribedTiles()

Get all described tile coordinates and their area names.

GetTrackedObjectSchemas()

Returns configure schemas for all live tracked objects. Used by DMBridge to include in request.json for constrained decoding.

IsTileDescribed(Vector2Int)

Check if a tile coordinate has been described by the DM.