Read recent changes
recent_activityWhat changed in the collection, newest first: one line per change (an import, Sleeve deck or a deleted deck is ONE line), each with who made it (by) and whether it was undone. Filters: deck (id or name) or place (id or name) a change touched, source (web, assistant, api_key, partner, import, swap), kind, days (default all the plan shows). Page with before = next_before. Pass op_id (a line's) to open that change: opened lists every card it touched. Free reads the last 90 days: relay plan_limit when present. Changes nothing.
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": "recent_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Only the last N days | |
| deck | No | Only changes that touched this deck (id or name) | |
| kind | No | Only changes of this kind | |
| limit | No | Lines a page (default 50) | |
| op_id | No | Open one change: its line and every card it touched | |
| place | No | Only changes that moved cards into or out of this place (location id or name) | |
| before | No | The previous page's next_before | |
| source | No | Only changes made this way |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Newest first; empty when op_id opens a change | |
| opened | No | The change op_id named, with every card it touched, oldest first | |
| plan_limit | No | Relay this when present: what the plan does not show, and Plus shows | |
| next_before | Yes | Pass as `before` for the next page; null on the last | |
| older_hidden | No | Entries older than the plan shows, kept and shown on Plus |