search
Find documents and records in DEVONthink databases using flexible search parameters including query terms, group scoping, record type filters, and comparison modes.
Instructions
Search DEVONthink records. Examples: {"query": "invoice"} or {"query": "project review", "groupPath": "/Meetings", "databaseName": "MyDB"}. Note: groupPath requires databaseName and must be database-relative (e.g., "/Meetings" not "/MyDB/Meetings").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (wildcards * and ? are supported) | |
| groupUuid | No | UUID of the group to search within | |
| groupId | No | Numeric ID of the group to search within (requires databaseName) | |
| groupPath | No | Database-relative path of the group to search within (requires databaseName) | |
| databaseName | No | Database name (required for groupId or groupPath scoping) | |
| useCurrentGroup | No | Scope search to the currently selected group in DEVONthink | |
| recordType | No | Filter results to a specific record type | |
| comparison | No | Comparison mode for the search | |
| excludeSubgroups | No | Exclude records from subgroups when scoping to a group | |
| limit | No | Maximum number of results to return |