find_notes
Search Joplin notes by title or content using advanced query syntax, filter by task, completion, or trash, and paginate results.
Instructions
Find notes by searching titles and content. Use "*" to list all notes.
Query syntax: "exact phrase", title:word, body:word, -exclude, word1 OR word2
Examples: - find_notes("") - List all notes - find_notes("meeting") - Find notes containing "meeting" - find_notes("", task=True) - List all tasks - find_notes("", trash=True) - List trashed (soft-deleted) notes - find_notes("", limit=20, offset=20) - Page 2
TIP: Use find_notes_with_tag() or find_notes_in_notebook() for filtered searches. TIP: Trashed notes can be restored with restore_from_trash().
IMPORTANT: trash=True only works with query="*" and no task/completed filters. Joplin's search API does not index trashed notes and ignores include_deleted for filter queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text or '*' for all notes | |
| limit | No | Max results (1-100, default: 20) | |
| offset | No | Skip count for pagination (default: 0) | |
| task | No | Filter by task type (default: None) | |
| completed | No | Filter by completion status (default: None) | |
| trash | No | Show trashed (soft-deleted) notes instead of active notes (default: None/False) | |
| order_by | No | Sort field: "title", "created_time", "updated_time" (default: updated_time for *, relevance for text) | |
| order_dir | No | Sort direction: "asc", "desc" (default: asc for title, desc for time fields) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |