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.
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": "find_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Filter by task type (default: None) | |
| limit | No | Max results (1-100, default: 20) | |
| query | Yes | Search text or '*' for all notes | |
| trash | No | Show trashed (soft-deleted) notes instead of active notes (default: None/False) | |
| offset | No | Skip count for pagination (default: 0) | |
| order_by | No | Sort field: "title", "created_time", "updated_time" (default: updated_time for *, relevance for text) | |
| completed | No | Filter by completion status (default: None) | |
| order_dir | No | Sort direction: "asc", "desc" (default: asc for title, desc for time fields) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |