search_files
Find files and folders in a Nextcloud tree by name substring, filter by MIME type, and list newest-first results; omit the query to browse all matching items.
Instructions
Server-side search by name (case-insensitive substring) in a folder tree, newest first. Optional MIME filter. Without query lists everything matching the filter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 50, up to 500) | |
| query | No | Part of the name to look for | |
| folder | No | Folder to search in recursively (default: everything) | / |
| mime_type | No | MIME filter, '%' is a wildcard: 'image/%', 'application/pdf', 'httpd/unix-directory' (folders) |