kdeps-tools-search_local
v1.0.0Search for text patterns in local files using ripgrep. Returns matching files with a snippet, and (when the query is found) a match_id/line/revision - pass match_id to read_file to jump straight to that hit. Use for finding usages, patterns, or strings across the codebase. Requires: path (directory to search), query (search term). Optional: glob (file pattern), limit (max results, default 3).
Install
A kdeps asset: kdeps installs it on first run and updates it without a new release.
Pin a version with kdeps update tools/search_local@<version>.
Contents
Search for text patterns in local files using ripgrep. Returns matching files with a snippet, and (when the query is found) a match_id/line/revision - pass match_id to read_file to jump straight to that hit. Use for finding usages, patterns, or strings across the codebase. Requires: path (directory to search), query (search term). Optional: glob (file pattern), limit (max results, default 3).
| Parameter | Type | Description |
|---|---|---|
| glob | string | File glob filter, e.g. '*.go', '*.py' |
| limit | number | Maximum number of results. Default: 3 |
| path * | string | Directory to search in (absolute path) |
| query * | string | Search term or regex pattern |
version: 1.0.0
description: 'Search for text patterns in local files using ripgrep. Returns matching files with a snippet, and (when the query is found) a match_id/line/revision - pass match_id to read_file to jump straight to that hit. Use for finding usages, patterns, or strings across the codebase. Requires: path (directory to search), query (search term). Optional: glob (file pattern), limit (max results, default 3).'
parameters:
glob:
type: string
description: File glob filter, e.g. '*.go', '*.py'
limit:
type: number
description: 'Maximum number of results. Default: 3'
path:
type: string
description: Directory to search in (absolute path)
required: true
query:
type: string
description: Search term or regex pattern
required: true
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 10/11/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 10/11/2026