search
Locate case-insensitive text matches across local project file names and file contents, returning ordered results while skipping binary and oversized files.
Instructions
Substring search over file names and file contents.
Results are ordered by path then line number and limited to 1,000 matches. Binary and oversized files are skipped. This is plain text matching, not semantic search.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local project directory. Defaults to the server's working directory. | |
| query | Yes | Text to find (case-insensitive substring) in file paths and file contents. | |
| format | No | Output format: 'markdown' (default) or 'json' (structured envelope). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |