search_paths
Find directories and files by keyword in a disk scan, showing matching entries and their total size.
Instructions
Search for paths in a scan by keyword.
Useful for finding specific directories or files (e.g., "node_modules", "cache", "npm", "temp").
Args: scan_id: The scan ID. query: Search keyword or path fragment (case-insensitive). kind: Entry type — "all" (default), "files", or "folders". limit: Maximum results to return (default 50, max 200). ctx: MCP context (injected automatically).
Returns: Matching entries with total aggregate size.
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": {
"scan_id": "<scan_id>",
"query": "<query>"
},
"name": "search_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all | |
| limit | No | ||
| query | Yes | ||
| scan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |