Search inside a board's files
search_boardUse to find where something appears across a board's text files in ONE call, instead of reading files one by one: give a literal string (a net name, a reference designator, a part number, a footprint) and get back the file, line number and matching line for each hit. Optionally restrict to a file extension with path_suffix. Matching is literal and case-insensitive, not a regular expression. Prefer read_schematic for schematic wiring, read_pcb for copper vias/pads/tracks, and query_design for a file's structure; use this when you need to locate something by name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | Yes | A board: handle/slug or a boardrepo.com URL. Use search_boards for public boards or list_my_boards for personal and authorised organisation boards. Do not invent references. | |
| query | Yes | The literal text to find, e.g. "USB_DP" or "ATmega328". Not a regular expression. | |
| max_results | No | Optional cap on matches returned (default 100). | |
| path_suffix | No | Optional. Only search files ending with this, e.g. ".kicad_sch" or ".md". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| query | Yes | ||
| hasMore | Yes | ||
| matches | Yes | ||
| filesScanned | Yes | ||
| filesSkipped | Yes | ||
| bytesTruncated | Yes | ||
| filesTruncated | Yes |