fullscope_search
Search files and compress results by stripping code comments and whitespace, reducing token usage while scanning multiple matches.
Instructions
Search files with compressed results — runs ripgrep and filters output through fullscope to save tokens. Use instead of Grep/Bash for exploratory searches where you need to scan many results. For precise searches where you need exact line content, use the built-in Grep tool.
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": {
"pattern": "<pattern>"
},
"name": "fullscope_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | File pattern filter (e.g. "*.ts", "*.py") | |
| path | No | Directory or file to search in (defaults to cwd) | |
| pattern | Yes | Regex pattern to search for | |
| max_results | No | Max lines to return (default 100) |