search_notes
Search through Anki notes using native Anki search syntax. Specify a query like 'deck:MyDeck' or 'tag:important' to retrieve relevant flashcards.
Instructions
Search for notes using Anki search syntax. Examples: 'deck:MyDeck', 'tag:important', 'front:python'
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": "search_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Anki search query | |
| limit | No | Maximum number of results (optional) | |
| collection_path | No | Path to collection file (optional) |