Create Note
create_noteCreate a free-text note (research, transcript, comment) of a chosen type for Gramps Web records, returning its handle, Gramps ID, and type for later linking.
Instructions
Create a free-text note (research notes, transcriptions, comments) of a given type. Returns the new handle, Gramps ID and type, with next steps. The note is attached to nothing yet: add its handle to the noteHandles of each person, family, event, place, source or citation it belongs to (their update tool, linkMode add). Change an existing note with update_note. An unknown type is rejected before anything is saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The note text (required). | |
| format | No | Text format: Plain (default) or Html. | Plain |
| noteType | No | Note type, default General; e.g. Research, Transcript, Person Note, Event Note, Citation. Must be a standard Gramps type or a custom one the tree already uses; anything else is rejected with suggestions. List: get_reference(topic: "types"). | General |
| isPrivate | No | Mark the note private (default false). | |
| tagHandles | No | Tags. Handles, not Gramps IDs: JSON array ["h1","h2"], one handle, or a comma/semicolon/newline-separated string; entries may also be objects {"ref":"…"}. |