Search regex (ripgrep)
search_regexSearch Markdown vault with regex to retrieve ranked, highlighted matches from note bodies. Use glob filters to restrict file scope.
Instructions
Regex search via ripgrep. Returns ranked sandbox-wrapped match lines with term highlighting, resolved to indexed chunks. Restrict file scope with glob (e.g. '*.md'). Requires datacron index for chunk resolution. Searches note bodies only: a match inside frontmatter is not returned. The pattern uses ripgrep syntax. Without rg on PATH it falls back to scanning indexed chunk bodies with Python regex syntax, which is slower and sees only indexed content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| limit | No | ||
| pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||