anki_find_notes
Find Anki note IDs that match a search query using Anki's native search syntax. Returns only IDs for further processing with note info tools.
Instructions
Find note ids matching an Anki search query.
Uses Anki's own search syntax, the same one as the browser's search bar:
deck:Python notes in a deck (and its subdecks)
deck:Python::Asyncio a specific subdeck
tag:python::asyncio by tag ("tag:none" = untagged)
note:Cloze by note type
"front:*GIL*" wildcard match on a named field
added:7 added in the last 7 days
is:due -is:suspended combine terms; "-" negatesQuote any term containing spaces. Returns ids only — pass them to
anki_get_notes_info to see the actual content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search expression. An empty string matches nothing; use `"deck:*"` to match everything. | |
| response_format | No | How a tool should render its result. A `StrEnum` so the members compare equal to the plain strings a client sends over the wire (`"markdown"`, `"json"`). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |