search-notes
Searches Inkdrop notes by keyword and filters results with qualifiers like notebook, tag, status, title, or body; returns truncated snippets for use with read-note.
Instructions
List all notes that contain a given keyword.
The result does not include entire note bodies as they are truncated in 200 characters.
You have to retrieve the full note content by calling read-note.
Here are tips to specify keywords effectively:
Use special qualifiers to narrow down results
You can use special qualifiers to get more accurate results. See the qualifiers and their usage examples:
book
book:Blog: Searches for notes in the 'Blog' notebook.book:"Desktop App": Searches for notes in the 'Desktop App' notebook.book:kGlLniaV: Searches for notes in the notebook with the ID 'book:kGlLniaV'.tag
tag:JavaScript: Searches for all notes having the 'JavaScript' tag. Read more about tags.tag:pQ7xYt2R: Searches for all notes having the tag with the ID 'tag:pQ7xYt2R'.status
status:onHold: Searches for all notes with the 'On hold' status. Read more about statuses.title
title:"JavaScript setTimeout": Searches for the note with the specified title.body
body:KEYWORD: Searches for a specific word in all notes. Equivalent to a global search.
Combine qualifiers
You can combine the filter qualifiers to refine data even more.
Find notes that contain the word 'Hello' and have the 'Issue' tag.
Hello tag:IssueFind notes that contain the word 'Typescript,' have the 'Contribution' tag, and the 'Completed' status
Typescript tag:Contribution status:CompletedSearch for text with spaces
To find the text that includes spaces, put the text into the double quotation marks ("):
"database associations"Exclude text from search
To exclude text from the search results or ignore a specific qualifier, put the minus sign (-) before it. You can also combine the exclusions. See the examples:
-book:Backend "closure functions": Ignores the 'Backend' notebook while searching for the 'closure functions' phrase.-tag:JavaScript: Ignores all notes having the 'JavaScript' tag.-book:Typescript tag:work "Data types": Ignores the 'Typescript' notebook and the 'work' tag while searching for the 'Data types' phrase.-status:dropped title:"Sprint 10.0" debounce: Ignores notes with the 'Dropped' status while searching for the 'debounce' word in the note with the 'Sprint 10.0' title.-"Phrase to ignore" "in the rest of a sentence": Ignores the 'Phrase to ignore' part while searching for 'in the rest of a sentence'.
Note that you can't specify excluding modifiers only without including conditions.
WARNING: Make sure to enter a text to search for after the exclusion modifier.
✅ Will work
-book:Backend "closure functions"⛔️ Won't work
-book:Backend. There's no query. Inkdrop doesn't understand what to search for.
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": {
"keyword": "<keyword>"
},
"name": "search-notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | Keyword to search for. |