Search files
nextcloud_search_filesSearch Nextcloud files by case-insensitive name substring within a folder, optionally filter by MIME type, and return relative paths for locating files.
Instructions
Search files by name (case-insensitive substring) under one folder.
SEARCH /remote.php/dav
mime_prefix narrows to a content type family, for example
image/ or video/. Returns paths relative to the account root.
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": {
"query": "<query>"
},
"name": "nextcloud_search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| limit | No | ||
| query | Yes | ||
| mime_prefix | No |