Search event commands
search_event_commandsSearch map events, common events, and troop pages for blocks by text, block type, or database reference, returning each match's location and block ID for editing.
Instructions
Search all map events, common events and troop pages for blocks matching text, a block type and/or a reference (e.g. refKind "switch", refId 12). Results include locations and block ids.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_event_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| limit | No | ||
| mapId | No | ||
| refId | No | ||
| eventId | No | ||
| refKind | No | switch, variable, item, weapon, armor, actor, skill, state, common_event, map, troop, ... | |
| blockType | No | e.g. show_text, transfer_player, plugin_command, raw_command | |
| includeTroops | No | ||
| includeCommonEvents | No |