Search files
search_filesSearch files and folders across specified Synology NAS folders recursively by name pattern, extension, size, date, or owner and return matching results.
Instructions
Search recursively for files/folders by name pattern, extension, size, date or owner. Waits for the search to finish (up to the task timeout) and returns matches.
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": {
"folder_paths": "<folder_paths>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (default 200) | |
| owner | No | ||
| pattern | No | Glob on name, e.g. *invoice*. Without * or ? it matches partially. | |
| size_to | No | Max size in bytes | |
| filetype | No | ||
| extension | No | Extension glob, e.g. pdf or jpg,png | |
| recursive | No | Search subfolders too (default true) | |
| size_from | No | Min size in bytes | |
| folder_paths | Yes | Folders to search in, e.g. ["/photo"] | |
| modified_after | No | ISO date, e.g. 2024-01-01 | |
| modified_before | No | ISO date |