search_compact
Searches project files and returns grouped, line-clipped grep hits so you can inspect matches without reading full file contents.
Instructions
Grep the project; hits grouped per file, lines clipped. Literal, case-insensitive by default.
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_compact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | e.g. *.ts or src/**/*.cpp | |
| path | No | Dir or file | |
| query | Yes | ||
| regex | No | ||
| context | No | ||
| maxResults | No | Hit lines | |
| caseSensitive | No |