Update map event
update_eventReplace an existing event on a map with updated JSON data, keeping its ID and array position synchronized automatically.
Instructions
Replace an event on a map with the given event JSON (same shape as returned by get_event). The event's id and its array position stay in sync automatically. See event_command_reference for command codes.
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>",
"eventId": "<eventId>",
"event": "<event>"
},
"name": "update_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Complete event object (name, x, y, note, pages) | |
| mapId | Yes | ||
| eventId | Yes |