add_note
Create research or general notes and attach them to a person, event, or source to log reasoning about conflicting evidence or transcriptions.
Instructions
Create a research/general note, optionally attached to an object.
Use notes for research logs, reasoning about conflicting evidence, or transcriptions. Attach to a person/event/source by giving target + target_type. Any length is written in one call; a server error says whether anything was.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The note text. | |
| target | No | Optional object handle/gramps_id to attach the note to. | |
| note_type | No | Note type, e.g. 'General', 'Research'. | General |
| target_type | No | Type of the target: 'person', 'family', 'event', 'source', 'citation', 'place', 'repository', 'media'. | |
| allow_new_type | No | Accept a type that is neither a Gramps standard type nor one of the tree's custom types, creating it as a new custom type. Only when meant: a near-miss is refused with the closest names. |