setup_tactical_encounter
Create full RPG combat encounters with preset creatures and terrain patterns in a single call, replacing multiple API requests to save tokens.
Instructions
Create a full combat encounter with creatures from presets and terrain patterns.
REPLACES: create_encounter + N×create_character + N×update_terrain (6-12 calls → 1 call) TOKEN SAVINGS: ~90%
Creature templates: "goblin", "goblin:archer", "skeleton:warrior", "orc:berserker" Position shorthand: "10,5" instead of {x:10, y:5, z:0}
Example - Goblin Ambush: { "seed": "goblin-ambush", "participants": [ { "template": "goblin:warrior", "position": "5,5" }, { "template": "goblin:warrior", "position": "7,5" }, { "template": "goblin:archer", "position": "6,2" }, { "template": "hobgoblin:captain", "name": "Grishnak", "position": "6,3" } ], "terrain": { "obstacles": ["3,3", "3,4", "8,3", "8,4"], "difficultTerrain": ["5,6", "6,6", "7,6"] }, "partyPositions": ["10,10", "11,10", "10,11", "11,11"] }
Available creature templates: goblin, goblin:warrior, goblin:archer, goblin:boss, goblin:shaman, skeleton, skeleton:warrior, skeleton:archer, zombie, zombie:brute, orc, orc:warrior, orc:berserker, hobgoblin, hobgoblin:captain, wolf, dire_wolf, bandit, bandit_captain, ogre, troll, and more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | Seed for deterministic combat | |
| participants | Yes | Enemy creatures to spawn | |
| terrain | No | Terrain configuration | |
| partyPositions | No | Starting positions for party members | |
| partyId | No | Party ID to auto-add party members | |
| gridSize | No | Grid dimensions | |
| sessionId | No |