crosspad_search_symbols
Find definition sites for symbols (classes, functions, macros) across CrossPad repos, skipping vendored code to pinpoint implementation.
Instructions
Search for symbol DEFINITIONS (classes, functions, macros, enums, typedefs) across CrossPad repos via git grep. PREFER THIS over raw grep -r or git grep — it filters to definitions only (skips call sites/declarations), classifies kind, and aggregates across all repos automatically. Substring match: 'Foo' matches FooBar, MyFoo. Vendored/generated trees (lvgl, managed_components, thorvg, TFT_eSPI, STM Drivers/Middlewares/CMSIS, build, …) are skipped by default — pass include_vendored=true to scan them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all | |
| query | Yes | Symbol name (substring match, case-insensitive on filter) | |
| repos | No | Repo names to scan, or ['all']. Names: crosspad-core, crosspad-gui, crosspad-pc, platform-idf, ESP32-S3, stm32-r20. | |
| max_results | No | ||
| context_lines | No | Surrounding lines per match (like grep -C). 0 = no context. | |
| include_vendored | No | Scan vendored/generated trees too (lvgl, managed_components, STM Drivers/Middlewares, build, …). Default false — these are almost always noise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| total | No | ||
| matches | No | ||
| success | Yes | ||
| truncated | No |