render_map
Visualize combat encounters with ASCII maps showing participant positions, obstacles, and terrain for RPG sessions.
Instructions
Render an ASCII map of the current combat state showing participant positions, obstacles, and terrain. Returns a text-based grid visualization with:
A-Z for friendly participants
1-9 for enemies
█ for obstacles
░ for difficult terrain
☠ for defeated combatants
Example: { "encounterId": "encounter-battle-1-123456", "width": 15, "height": 15 }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"encounterId": "<encounterId>"
},
"name": "render_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encounterId | Yes | The ID of the encounter | |
| width | No | Grid width (default: 20) | |
| height | No | Grid height (default: 20) | |
| showLegend | No | Include legend explaining symbols | |
| sessionId | No |