Get Object
get_objectRead one Gramps record in full by Gramps ID or handle, including its fields, links and backlinks. Use it when you have an identifier and need the complete record.
Instructions
Read one record in full: its fields, its links to other records, and the records that point to it (backlinks, read-only here). Use it once you know the Gramps ID or handle; to find a record by text use search, to browse a type use list_objects, and for a person's relatives or dated events get_person_tree and get_timeline are shorter. A Gramps ID in the default format, such as I0001, names its type by prefix, so objectType is needed only with a handle or an ID in another format; with objectType the identifier is looked up among the records of that type, whatever its prefix. extended (people and families only) puts each event's date and place on its line, names the others in an event where the person is not Primary, such as a child's birth, and adds note text, tag names, citations and media in the same call. Returns plain text for one record, without paging: a header with its type, label, handle and Gramps ID, then its fields, its links one per line with label, handle and, for events, the role, and "Referenced by" sections for the backlinks. A missing record returns a not-found message with a hint.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identifier": "<identifier>"
},
"name": "get_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extended | No | People and families only: also resolve the linked records (event dates and places, note text, tag names, citations, media) in the same call; default false is faster. Rejected for other types. | |
| identifier | Yes | Gramps ID (e.g. I0001) or handle. The prefixes of the default ID format give the type: I person, F family, E event, P place, S source, C citation, N note, O media, R repository; tags have no Gramps ID. | |
| objectType | No | Record type: person, family, event, place, source, citation, note, media, repository or tag. Omit for a Gramps ID in the default format; required for a handle or an ID in another format, such as S_ABC. |