unified_search
Find content in Nextcloud apps by querying a specific provider such as files, calendar, or mail. Use filters and cursor pagination to refine results and fetch additional pages.
Instructions
Search a Nextcloud app using the Unified Search API.
Searches a specific provider (e.g. "files", "calendar", "mail", "talk-message", "contacts", "notes"). Use list_search_providers to see all available providers and their supported filters.
Results are cursor-paginated. When has_more is true, pass the returned cursor value to the next call to get more results.
Args: provider: Search provider ID (e.g. "files", "calendar", "mail"). Use list_search_providers to see available providers. term: Search query string. limit: Maximum results to return (1-25, default 25). Server may cap this further based on configuration. cursor: Pagination cursor from a previous search response. Omit for the first page. filters: Optional JSON object of provider-specific filters. Example for files: {"since": "2026-01-01T00:00:00Z", "mime": "text"} Example for talk: {"conversation": "abc123", "person": "admin"} Use list_search_providers to see supported filters per provider.
Returns: JSON object with: provider (name), entries (list of results with title, subline, attributes), has_more (boolean), and cursor (pass to next call for pagination).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| limit | No | ||
| cursor | No | ||
| filters | No | ||
| provider | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |