Search files
search_filesSearch under a folder either by file name (mode "name", supports * and ?) or by text inside files (mode "content"). Skips node_modules, .git and binary or very large files. Results are capped.
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": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default "name". | |
| path | Yes | Folder to search in. | |
| device | No | Device name. Optional when the account has only one online device. | |
| pattern | Yes | Name pattern (name mode) or plain text (content mode). | |
| ignore_case | No | Default true. | |
| max_results | No | Default 100, max 500. |