add_text
Places text labels with configurable font, size, and color at a map coordinate for Dungeondraft battle maps, returning the new element ID and size.
Instructions
Add a text label at a woxel position. Returns the new element id and size.
size: font size in points (default ~32). color: '#rrggbb' (default black).
font: a DD font name; omit to keep the default font.
On Windows, leave emoji out: the request is refused and nothing is added,
even though the error says it may have run.
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": {
"text": "<text>"
},
"name": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| font | No | ||
| size | No | ||
| text | Yes | ||
| color | No |