Search Desynced game/mod source
search_game_sourceSearch base game and mod Lua/JSON source with regex to locate definitions and usages for informed mod overrides.
Instructions
Regex search over the Lua/JSON source of the base game ('main' package) and all mods in the workspace. Returns file:line matches with context. Use to find how the base game defines/uses something before overriding it in a mod.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Regex (case-insensitive). Literal fallback if invalid regex. | |
| max_results | No | ||
| path_filter | No | Substring filter on file path, e.g. 'main/ui', 'ExplorableHacker' | |
| context_lines | No |