statistics.getSummary
statistics_getSummaryRetrieve structured Anki collection statistics or summary metrics for a specific deck and its subdecks to inspect study progress and deck performance.
Instructions
Get structured collection statistics or an explicit deck including children.
Anki-Connect method statistics.getSummary. Scope: collection. Effect: read. Completion: completed. Undo: none.
Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "statistics_getSummary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Deck (with subdecks): exactly one of {"id": "<deckId>"} or {"name": "<full deck name, e.g. Japanese::Verbs>"}. Omit for the whole collection. | |
| session | No | Optional. Collection session ID: the `session` field returned by `collection_get`. Usually omit it — the server then uses the session current at the time of the call. Pass it to make the call fail with `staleSession` instead of acting on a different profile/collection than the one your IDs, cursors and tokens came from. |