Search site files
search_site_filesFind text or a regex across draft files. Each hit is path:line:column plus the text around the match: copy oldText from it. context adds the lines around.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| glob | No | Only paths matching, e.g. **/*.liquid. | |
| path | No | Only paths starting with this, e.g. pages/. | |
| query | Yes | ||
| regex | No | query is a JavaScript regex, case-insensitive. | |
| context | No | Lines around each hit (0-5). |