Create map event
create_eventAdd a new event to a map at specified coordinates. Optionally provide custom event pages; returns the new event ID.
Instructions
Add a new event to a map at (x, y). If no pages are given, a single empty page (action-button trigger, no commands) is created. Returns the new event id.
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": {
"mapId": "<mapId>",
"name": "<name>",
"x": "<x>",
"y": "<y>"
},
"name": "create_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | Yes | ||
| note | No | ||
| mapId | Yes | ||
| pages | No | Optional event pages; defaults to one empty page |