Search map events
search_map_eventsSearches event names, notes, and optional command text across one map or all maps to locate dialogue, scripts, or plugin commands.
Instructions
Case-insensitive substring search across events on one map or every map. Matches event names and notes; with searchCommands=true it also searches inside event command parameters (message text, script lines, plugin commands). Returns {mapId, mapName, eventId, name, x, y, matchedIn}.
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": {
"query": "<query>"
},
"name": "search_map_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| mapId | No | Search only this map; omit for all maps | |
| query | Yes | ||
| searchCommands | No | Also search inside event command lists (slower, finds text/script content) |