Get Recent Changes
get_recent_changesView a tree's recent edit history newest first, or one record's change history with before-and-after values, to verify writes, identify who changed what, or find a transaction number to undo.
Instructions
Show the tree's recent edit history, newest first: each transaction's number, commit time (UTC), description, user, an undo marker, and each changed object's class, change kind (added/updated/deleted) and handle, with the first 10 objects of each transaction and how many more it changed. A link added or removed between objects appears as Reference from one handle to the other. limit counts transactions, not objects, and stops at the latest 100, so older history is out of reach here; list_objects with sort -change lists records by last edit instead. With identifier it shows one record's own history instead, from its first save, newest first: per change the time, added/updated/deleted, the user and the transaction, and the fields it changed as field: before → after (up to 12 per change), with linked records named; this needs Gramps Web API 3.22 or later. Use it to see what was changed last and by whom, who changed a field of a record and what it held before, to check that your own writes landed, or to find the number undo_change takes to revert a transaction; for the dated events of one person use get_timeline, and read a changed record with get_object.
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": "get_recent_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many transactions to show, 1–100 (default 20); with identifier, how many changes of that record. Other values are clamped. | |
| identifier | No | Show this record's history instead: a Gramps ID (e.g. I0001) or handle. A deleted record is found by its handle, which the transaction that deleted it shows. | |
| objectType | No | The record's type, needed with a handle or a Gramps ID in a custom format: person, family, event, place, source, citation, note, media, repository or tag. Omit for a Gramps ID such as I0001; used only with identifier. |