inspect_cards
Inspect Anki card details by card or note ID and selectively retrieve identity, state, scheduling, timestamps, history, or field data.
Instructions
Inspect per-card state with sparse fieldset selection.
Provide EXACTLY ONE of `card_ids` or `note_ids`. When `note_ids` is given,
the tool resolves to all cards belonging to those notes via an `nid:` query.
Use `properties` to pick which categories of information to return. The
default keeps responses small; opt into the heavier categories explicitly.
Property categories:
- `identity` — cardId, noteId, deck, modelName
- `state` — suspended, queue, queue_label, type
- `scheduling` — ease, interval, reps, lapses, raw_due
- `timestamps` — modified_iso, last_review_iso (the latter only with `history`)
- `history` — full review log (extra AnkiConnect call). Each entry has
an ISO timestamp, an "again"/"hard"/"good"/"easy" rating, interval in
days, and time taken in ms.
- `fields` — cleaned, non-empty note field content (extra `notesInfo`
round trip). Image Occlusion notes collapse to a single placeholder.
- `all` — shorthand for every category above.
Default when `properties` is None: `["identity", "state", "scheduling"]`.
`include_history=True` is kept as a soft-deprecated alias — equivalent to
adding `"history"` to `properties`. Prefer the new param going forward.
Args:
card_ids: List of card IDs to inspect.
note_ids: List of note IDs; expands to every card on those notes.
properties: List of property categories to include.
include_history: Soft-deprecated alias for `properties=["history", ...]`.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_ids | No | ||
| note_ids | No | ||
| properties | No | ||
| include_history | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |