Record an action in the logbook
create_logbook_entryRecord an action in the logbook of a project: what was done, and WHEN it was done. occurred_at is the date of the ACTION itself, not of the recording: recording after the fact is the normal case ("record: site translated into Spanish yesterday" means occurred_at is yesterday). The entry joins the tool events in the logbook and lands as an annotation on the citation curves of the trackers of the project, so the action can be read against the measures. Recording is idempotent on the project, the label and occurred_at: calling again with the same three returns the entry already recorded instead of a second copy, so a retry is safe. The same move recorded in two languages has two labels, so it stays two entries. Pass quest_id when the action moves a quest forward: that entry then also reads as the dated trail of that quest, through get_logbook with the same quest_id, and the same label on two quests stays two entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Short wording of the action, e.g. "Site translated into Spanish": it is what the annotation shows next to the citation curves. | |
| notes | No | Free notes: context, links, details of the action. | |
| category | Yes | What kind of action this is; it files the entry for filtering. "other" covers anything else. | |
| quest_id | No | The quest of the same project this action moves forward, which is how a quest gets its own dated trail: call list_quests to find it. The entry stays an entry of the logbook of the project, it just says what it serves. Omitted on creation, the entry belongs to the project alone; sent as null on an edit, it goes back to the project alone. | |
| project_id | Yes | UUID of the project: call list_projects to find it. | |
| occurred_at | No | When the action HAPPENED, ISO 8601 date or datetime, read as UTC without an offset. Distinct from the recording time: when the user says "yesterday" or "last week", compute and pass that date. Omitted on creation, now is used. |