Search workspace
project_searchSearch files and directories by name, content (literal or regex), or symbol definitions to locate code before reading; use it when the exact path is unknown.
Instructions
Search by file name, directory name, content (literal or regex=true), or symbol declaration lines (definition). Use when: you need to find code/strings/symbols before reading; use kind=literal_content or definition. Avoid when: you already know the exact path to read. Speed: medium (file scan); TTL cache 3s for the same query. Output: search: hits, complete, diagnostics, hint. Batch-safe: yes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| kind | Yes | ||
| limit | No | ||
| query | Yes | ||
| regex | No | ||
| count_only | No | ||
| whole_word | No | ||
| exclude_glob | No | ||
| context_lines | No | ||
| relative_path | No | Path inside the workspace (relative, or absolute inside the workspace) | |
| case_sensitive | No | ||
| include_hidden | No |