desktop_search
Search workspace filenames or UTF-8 file contents with bounded, one-shot results and optional hidden-file inclusion. Use it to locate files or text without broad traversal.
Instructions
Bounded one-shot filename or UTF-8 content search; no hidden traversal 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": {
"path": "<path>",
"pattern": "<pattern>"
},
"name": "desktop_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative path; use . for root | |
| pattern | Yes | ||
| timeout_ms | No | ||
| ignore_case | No | ||
| max_results | No | ||
| search_type | No | files | |
| file_pattern | No | ||
| include_hidden | No | ||
| literal_search | No |