Keepsake

v1.24.0
io.github.nicolascroce/keepsake Checked 3 hours ago Published 4 days ago

Keepsake (keepsake.place), the app where creators and solo entrepreneurs empty their heads

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_contacts

List contacts in the user's Keepsake CRM. Supports pagination, sorting, field selection (use `fields` to skip long notes when scanning many contacts), filters on linked companies and on last update, and optional last_interaction_date enrichment. Each contact's companies are company records, returned in `companies`.

ParameterTypeDescription
companystringOnly contacts linked to this company: a company UUID, or part of its name (case and accents ignored)
fieldsarrayOnly return these fields (id is always included). Columns: first_name, last_name, email, phone, job_title, address, birth_day, birth_month, birth_year, notes, created_at, updated_at. Computed: compani…
has_companybooleantrue: only contacts linked to at least one company; false: only contacts without any company
include_last_interactionbooleanInclude last_interaction_date for each contact (default: false)
limitintegerMax results (default 20, max 100)
offsetintegerPagination offset
orderstringSort order
sortstringSort field: last_name, first_name, created_at, updated_at
updated_sincestringOnly contacts updated after this ISO date or timestamp

get_contact

Get a single contact by ID, including recent entries (interactions), tags, last_interaction_date, and total_entries count.

ParameterTypeDescription
id *stringContact UUID
entries_limitintegerMax entries to return (default 10, -1 for all)

create_contact

Create a new contact. first_name is required. last_name is optional (useful for contacts where you only know the first name).

ParameterTypeDescription
first_name *stringFirst name
addressstringPostal address
birthdaystringBirthday as ISO date string (YYYY-MM-DD), e.g. '1980-02-14'
companystringCompany name. Links the contact to that company record (matched by name ignoring case and accents, created if missing). Adds a link, never removes one. The contact's companies are returned in `compani…
emailstringMain email address (use `emails` to give several)
emailsarrayAll of the contact's email addresses, main one first (e.g. personal and work). Replaces the whole list; takes precedence over `email`.
job_titlestringJob title / profession, e.g. 'Product designer'
last_namestringLast name (optional)
notesstringNotes about the contact
phonestringMain phone number (use `phones` to give several)
phonesarrayAll of the contact's phone numbers, main one first. Replaces the whole list; takes precedence over `phone`.

update_contact

Update an existing contact. Only send the fields you want to change.

ParameterTypeDescription
id *stringContact UUID
addressstring | nullPostal address. Set to null to clear.
birthdaystring | nullBirthday as ISO date string (YYYY-MM-DD), e.g. '1980-02-14'. Set to null to clear.
companystringCompany name. Links the contact to that company record (matched by name ignoring case and accents, created if missing). Adds a link, never removes one. The contact's companies are returned in `compani…
emailstringMain email address only; the other addresses are kept (use `emails` to change the whole list)
emailsarrayAll of the contact's email addresses, main one first (e.g. personal and work). Replaces the whole list; takes precedence over `email`.
first_namestringFirst name
job_titlestring | nullJob title / profession, e.g. 'Product designer'. Set to null to clear.
last_namestringLast name
notesstringNotes about the contact
phonestringMain phone number only; the other numbers are kept (use `phones` to change the whole list)
phonesarrayAll of the contact's phone numbers, main one first. Replaces the whole list; takes precedence over `phone`.

delete_contact

Permanently delete a contact and all associated data.

ParameterTypeDescription
id *stringContact UUID

merge_contacts

Merge a duplicate contact INTO another one: its entries, tasks, notes, day blocks, companies and tags (pages) move to the target (no duplicates), the target's empty details (email, phone, job title, address, birthday) are filled from it, its notes are appended to the target's, @mentions of its name are rewritten to the target's name, then it is deleted. Use it when two records describe the same person (e.g. two 'Pascale Villières'). Two people can share a name: confirm with your user that it is the same person, and which record to keep.

ParameterTypeDescription
source_id *stringUUID of the contact to merge away (it will be deleted)
target_id *stringUUID of the contact to keep

search_contacts

Search contacts by name, email, company, etc. Search is accent-insensitive.

ParameterTypeDescription
q *stringSearch query

list_companies

List all companies/organizations in the user's Keepsake CRM. Supports pagination and sorting.

ParameterTypeDescription
limitintegerMax results (default 20)
offsetintegerPagination offset
orderstringSort order
sortstringSort field: name, created_at, updated_at

get_company

Get a single company by ID, including linked contacts (with roles) and tags.

ParameterTypeDescription
id *stringCompany UUID

create_company

Create a new company/organization. Only 'name' is required.

ParameterTypeDescription
name *stringCompany name
addressstringAddress
emailstringEmail address
notesstringNotes about the company
phonestringPhone number
websitestringWebsite URL

update_company

Update an existing company. Only send the fields you want to change.

ParameterTypeDescription
id *stringCompany UUID
addressstringAddress
emailstringEmail address
namestringCompany name
notesstringNotes about the company
phonestringPhone number
websitestringWebsite URL

delete_company

Soft-delete a company. Use permanent=true for hard delete.

ParameterTypeDescription
id *stringCompany UUID
permanentbooleanHard delete (default: false, soft delete)

merge_companies

Merge a duplicate company INTO another one: its contacts, entries and tags move to the target (no duplicates), the target's empty details (website, email, phone, address) are filled from it, its notes are appended to the target's, then it is deleted. Use it when two records describe the same organization (e.g. 'CNCP' and 'Cncp'). Confirm with your user which record to keep.

ParameterTypeDescription
source_id *stringUUID of the company to merge away (it will be deleted)
target_id *stringUUID of the company to keep

search_companies

Search companies by name, email, website, or address. Search is accent-insensitive.

ParameterTypeDescription
q *stringSearch query

list_entries

List interaction entries (calls, emails, meetings, events, etc.). Supports filtering by type, contact, company, tag (page) and date range.

ParameterTypeDescription
company_idstringOnly entries where this company is a participant
contact_idstringFilter by associated contact ID
fromstringStart date (YYYY-MM-DD)
limitintegerMax results (default 20)
offsetintegerPagination offset
tag_idstringOnly entries linked to this tag (page)
tostringEnd date (YYYY-MM-DD)
typestringFilter by entry type

create_entry

An ENTRY is a dated interaction log tied to contacts. Records something that happened (call, meeting, email…) on a specific date. Create a new interaction entry. Content supports #tag# and [[tag]] syntax for automatic tag linking.

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)
type *stringEntry type
company_idsarrayArray of company UUIDs to associate (companies are separate from contacts)
contact_idsarrayArray of contact UUIDs to associate
contentstringEntry content (supports #tag# and [[tag]])
day_block_idstringTimeline block this entry tells (from list_day_blocks). One entry per block at most: a block that already has one returns 409 with its entry_id. In the app, the entry then replaces the checked block i…
note_idsarrayNotes to link to the entry (its write-up). See link_entry_note.
tag_idsarrayArray of tag UUIDs to link

update_entry

Update an existing entry. Only send fields you want to change.

ParameterTypeDescription
id *stringEntry UUID
company_idsarrayReplace associated companies (send [] to unlink all). Contacts are unaffected.
contact_idsarrayReplace associated contacts
contentstringEntry content (supports #tag# and [[tag]])
datestringDate (YYYY-MM-DD)
tag_idsarrayReplace associated tags
typestringEntry type

delete_entry

Delete an interaction entry.

ParameterTypeDescription
id *stringEntry UUID

list_tasks

List tasks. Filter by status (pending/completed), date_type, specific date, company, or tag (page) — e.g. tag_id + status=pending lists a project's open tasks.

ParameterTypeDescription
company_idstringOnly tasks linked directly to this company
datestringFilter by specific date (YYYY-MM-DD)
date_typestringFilter by date type: specific (has a due date), asap (do as soon as possible), one_day (someday/no rush)
limitintegerMax results (default 20)
offsetintegerPagination offset
statusstringFilter by status
tag_idstringOnly tasks linked to this tag (page)

get_task

Get a single task by ID, with its tags, linked contacts (contact_ids), linked companies (company_ids) and linked notes (note_ids). Use it when you already know which task you need instead of listing everything.

ParameterTypeDescription
id *stringTask UUID

create_task

A TASK is an action item to accomplish. Can have due date, recurrence, priority, linked to contacts and tags. Create a new task. Title supports #tag# and [[tag]] for automatic tag linking. To file it in a section of a tag page, pass header_id: it lands at the end of that section, without touching the rest of the page's order.

ParameterTypeDescription
title *stringTask title (supports #tag# and [[tag]])
company_idsarrayArray of company UUIDs to associate (companies are separate from contacts)
contact_idsarrayArray of contact UUIDs to associate
datestringDue date (YYYY-MM-DD)
date_typestringDate type: specific (has a due date, default), asap (do as soon as possible, no date needed), one_day (someday/no rush, no date needed)
descriptionstringTask description
duration_minutesintegerEstimated duration in minutes (Day-view timeline shows 15 by default when a start time is set)
header_idstringSection (task header) of a tag page: the task is linked to that tag and placed at the end of the section. If the section is on several tag pages, name the right one in tag_ids.
prioritystringPriority level
recurrence_intervalintegerRecurrence interval (e.g., every N days)
recurrence_typestringRecurrence pattern
start_timestringWall-clock start time HH:MM (24h). A task of the day WITH a time appears anchored on the Day-view timeline; without one it stays in the day's task list.
tag_idsarrayArray of tag UUIDs to link

update_task

Update an existing task. Only send fields you want to change.

ParameterTypeDescription
id *stringTask UUID
company_idsarrayReplace associated companies (send [] to unlink all). Contacts are unaffected.
contact_idsarrayReplace associated contacts
datestringDue date (YYYY-MM-DD)
date_typestringDate type: specific (has a due date), asap (do as soon as possible), one_day (someday/no rush)
descriptionstringTask description
duration_minutesEstimated duration in minutes. Pass null to clear.
prioritystringPriority level
start_timeWall-clock start time HH:MM (24h) — anchors the task on the Day-view timeline. Pass null to clear it (unschedule).
tag_idsarrayReplace associated tags
titlestringTask title

delete_task

Delete a task.

ParameterTypeDescription
id *stringTask UUID

complete_task

Mark a task as completed. If the task is recurring, this automatically creates the next occurrence.

ParameterTypeDescription
id *stringTask UUID

uncomplete_task

Mark a completed task as pending again.

ParameterTypeDescription
id *stringTask UUID

snooze_task

Reschedule a task to a new date.

ParameterTypeDescription
date *stringNew date (YYYY-MM-DD)
id *stringTask UUID
date_typestringNew date type: specific (has a due date, default), asap (do as soon as possible), one_day (someday/no rush)

list_notes

List notes. QuickNotes (inbox, not yet archived) and Notes (archived, permanent). Filter by pinned or archived status, by tag (page) with `tag_id`, by the day(s) a note is linked to (`date`, or `date_from`/`date_to`) — e.g. "what did I note for tomorrow?" —, by publication-flow stage with `status` — e.g. "which notes are waiting for review?" —, or with `scheduled` for notes waiting to be published on a date. Each note carries `dates` (the days it is linked to), `status` (its stage in the publication flow, or null), `published_at` (when it was published on the user's public Page, or nul…

ParameterTypeDescription
archivedbooleanFilter by status: true = Notes (archived/permanent), false = QuickNotes (inbox)
company_idstringOnly notes linked directly to this company
datestringOnly notes linked to this day (YYYY-MM-DD)
date_fromstringOnly notes linked to a day on or after this date (YYYY-MM-DD)
date_tostringOnly notes linked to a day on or before this date (YYYY-MM-DD)
limitintegerMax results (default 20)
offsetintegerPagination offset
pinnedbooleanFilter pinned notes only
scheduledbooleantrue = only notes waiting for their scheduled publication date (`publish_at`), sorted by that date, soonest first — e.g. to find the next free day or count how many days are scheduled ahead; false =…
statusstringPublication-flow stage: a stage name, key or id from list_note_statuses (e.g. "review"), "publication" (every note in the flow that is not published yet), or "none" (notes outside the flow)
tag_idstringOnly notes linked to this tag (page)

list_note_statuses

List the stages of the user's publication flow, in order (by default: Idea → In progress → To review → Ready → Published). A note enters this flow when the user may publish it — most notes never do and have no stage. Stages are the user's own: they can rename, recolor, add or remove them, so read this list before setting a stage with update_note or create_note. `category` is fixed: unstarted, started, or published (exactly one stage). Names are in the user's app language.

get_note

Get a single note by ID, including its tags, linked contacts, linked tasks, linked notes and the days it is linked to (`dates`). Use this when the user points you at one specific note (e.g. gives you its URL — the UUID is the last path segment) instead of listing everything.

ParameterTypeDescription
id *stringNote UUID (last segment of the note URL)

create_note

Create a new QuickNote in the Inbox. QuickNotes are temporary captures — use archive_note to transform one into a permanent Note, or pass archived=true to create the permanent Note directly (reference material the user asked you to keep — a project's status note, meeting minutes filed on a page — rather than a capture for them to sort). Content supports #tag# and [[tag]] for automatic tag linking. Pass `dates` to attach the note to one or more days ("note for tomorrow", meeting prep for Thursday): it then surfaces in that day's view while staying in the notes list. A dated note is NOT…

ParameterTypeDescription
content *stringNote content (supports #tag# and [[tag]])
archivedbooleanCreate a permanent Note directly instead of an Inbox QuickNote (default: false). Tags, links and @mentions work the same. Implied by status.
company_idsarrayArray of company UUIDs to associate (companies are separate from contacts)
contact_idsarrayArray of contact UUIDs to associate
datesarrayDays to link the note to (YYYY-MM-DD each). The note appears in each day's view.
is_pinnedbooleanPin the note (default: false)
publish_atstringSchedule the note's publication on the user's public Keepsake Page: an ISO 8601 date-time WITH a time zone (e.g. "2026-11-20T05:00:00Z"). At that time Keepsake publishes it by itself, exactly like the…
statusstringPut the note straight into the publication flow at this stage (name, key or id from list_note_statuses). The note is then created as a permanent Note, not an Inbox QuickNote — like "Keep to publish"…

update_note

Update an existing QuickNote or Note. `publish_at` schedules (or unschedules) its publication on the user's public Page. `dates` REPLACES the full set of days the note is linked to — the way to move a note to another day ("not done, push it to tomorrow"). To add or remove a single day without touching the others, prefer link_note_date / unlink_note_date. `status` moves the note along the publication flow ("this one is ready"); setting a stage on an Inbox QuickNote also keeps it as a Note.

ParameterTypeDescription
id *stringNote UUID
company_idsarrayReplace associated companies (send [] to unlink all). Contacts are unaffected.
contact_idsarrayReplace associated contacts
contentstringUpdated content
datesarrayReplace the days the note is linked to (YYYY-MM-DD each). Empty array = unlink from every day.
publish_atstring | nullSchedule the note's publication on the user's public Keepsake Page: an ISO 8601 date-time WITH a time zone (e.g. "2026-11-20T05:00:00Z"). At that time Keepsake publishes it by itself, exactly like the…
statusstring | nullPublication-flow stage: name, key or id from list_note_statuses. null takes the note out of the flow.
tag_idsarrayReplace associated tags

delete_note

Soft-delete a QuickNote or Note. Use permanent=true for hard delete.

ParameterTypeDescription
id *stringNote UUID
permanentbooleanHard delete (default: false, soft delete)

pin_note

Pin a QuickNote or Note so it stays in view. A pin is a POST-IT: a short reference the user wants always at hand (gate code, hotel room number, Wi-Fi password). Do not pin a note just because it is important — meeting prep is linked to its day, project material to a tag, actions become tasks. Pin only when the user asks or the note is clearly such a post-it.

ParameterTypeDescription
id *stringNote UUID

unpin_note

Unpin a note: it leaves the pinned post-its and stays where it is (Inbox or Notes), nothing else changes. Use when a pinned reference is no longer needed at hand — e.g. a project status note replaced by a newer one, or a project being closed.

ParameterTypeDescription
id *stringNote UUID

archive_note

Transform a QuickNote into a permanent Note (archive it). Notes appear on contact pages, tag pages, and the Notes section.

ParameterTypeDescription
id *stringNote UUID

restore_note

Restore a Note back to a QuickNote in the Inbox (unarchive), or restore a deleted note from trash.

ParameterTypeDescription
id *stringNote UUID

list_days

List stored days with their intention or question of the day (`note`; `intention` repeats it, null when empty). An intention is valid for its own day only — it does not carry over to the following days. Filter by date range.

ParameterTypeDescription
fromstringStart date (YYYY-MM-DD)
limitintegerMax results (default 20)
offsetintegerPagination offset
tostringEnd date (YYYY-MM-DD)

get_day

Get a specific day by date: its intention or question of the day AND the notes linked to that day (field `notes`, via link_note_date / `dates`). `note` is the intention written for that day (null or '' = none; `intention` repeats it). An intention is valid for its own day only — it does not carry over. Always 200 — `exists: false` means no row is stored for that date; `intention` and the linked notes are returned regardless.

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)

update_day

Create or update a day's intention or question of the day (upsert on the date). The `note` field is the intention or question of the day — one short line at the top of the Today view (a mantra, an intention, a single priority, or a question to keep in mind). Not a journal: never write a summary of the day here. An intention is valid for its own day only: it does not carry over to the following days. The user types it by hand each morning, on purpose — do not set it for them unless they ask. `null` or an empty string removes it. NOT for attaching a note to a day: this field is a single li…

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)
notestring | nullThe intention or question of the day: one short line (mantra, intention, single priority, or a question to keep in mind). Not a journal summary. null or empty string = no intention that day. Omit to l…
tasks_skippedbooleantrue = no-task day: the day's task blocks are hidden on the Today view and no task is changed (tasks created afterwards still show). false = bring them back. Use only when the user asks for a day with…

list_day_blocks

List the time blocks of a day's timeline (Day view), in timeline order. A block is either an activity (type 'block') or a task bucket (type 'tasks' — shows the day's untimed tasks, or what its filter selects: `filter_tag_id` = one page, `filter_due` = due dates; null = the day's tasks). The meta carries the day's raw timeline_order: "b:<uuid>" refs are blocks, bare uuids after a bucket are the order the user chose for its tasks. Recurring blocks: listing today or a future day first creates that day's recurring blocks if they do not exist yet (same as opening the day in the app), so every bl…

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)

list_calendar_events

List the appointments of the calendars your user connected to Keepsake (Settings → Calendar: Apple iCloud, Google, Outlook… by their secret iCal link). READ-ONLY: Keepsake never writes to these calendars, so you cannot create, move or delete an appointment — tell the user to change it in their calendar app. In the Day view, each timed appointment is a FIXED time, like a block with anchor_time: the user's flexible blocks flow around it, and a new block is never placed on top of it. So read the day's appointments before planning a day (see get_agent_instructions, practice 20), and never d…

ParameterTypeDescription
datestringOne day (YYYY-MM-DD). Default: today in the account's time zone.
date_fromstringStart of a range (YYYY-MM-DD), with date_to; at most 62 days.
date_tostringEnd of the range (YYYY-MM-DD), included.
refreshbooleanRe-read the calendars now instead of using what is at most 10 minutes old.

create_day_block

Create a time block on a day's timeline. The block is auto-placed in the earliest free gap large enough for it (same first-fit engine as the app); pass anchor_time to pin it at a fixed hour instead. Its "b:<id>" ref is inserted into the day's timeline_order for you — never write timeline_order by hand. A block can be about people and pages (contact_ids, company_ids, tag_ids), like a task: "Meeting #Keepsake Dev# with @Romain Dupont@" links the page and Romain from its title alone. A note created for the block inherits them.

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)
anchor_timestringPin the block at a fixed wall-clock hour HH:MM (it becomes a wall other blocks flow around). Omit for automatic first-fit placement.
company_idsarrayCompanies linked to the block (company ids). Replaces the list.
contact_idsarrayPeople linked to the block (contact ids). Replaces the list. A title with @Name@ also links that person.
duration_minutesintegerDuration in minutes (default 30 for an activity, 60 for a bucket)
filter_dueTask buckets only: which tasks to show, by due date — today, overdue (today only), week (from this day to Sunday), asap, someday, all. null = the day's tasks (today + overdue + ASAP on today), the d…
filter_tag_idTask buckets only: show only the tasks linked to this page (tag id, from list_tags). null = all pages.
notestringText of the block's note: a real note is created (kept out of the Inbox) and linked to the block. Supports #tag#, [[tag]] and @Name@. To attach an existing note, use link_day_block_note.
tag_idsarrayPages linked to the block (tag ids, from list_tags). Replaces the list. A title with #page# or [[page]] also links that page (created if needed).
titlestringBlock label (e.g. "Deep work", "Lunch")
typestring'block' = activity (default). 'tasks' = task bucket: a window that shows tasks — by default the day's untimed tasks, or what filter_tag_id / filter_due select.

update_day_block

Update a time block (title, duration, anchor, note, done, people and pages; for a task bucket, its filter: filter_tag_id, filter_due). Only send fields you want to change. The block keeps its position in the timeline order. Marking a block done records when it actually happened (it ends now and starts its planned duration earlier, never before the previous done block ended); the times can be corrected in the app. In the app's day view, what is done moves to the top, in the order it was done, and what is left follows; a finished fixed-time block no longer pushes anything. The block "in progres…

ParameterTypeDescription
id *stringBlock UUID
anchor_timeFixed wall-clock hour HH:MM. Pass null to unpin (the block flows with the rest again).
company_idsarrayCompanies linked to the block (company ids). Replaces the list.
contact_idsarrayPeople linked to the block (contact ids). Replaces the list. A title with @Name@ also links that person.
donebooleanMark the block done (true) or not done (false)
duration_minutesintegerDuration in minutes
filter_dueTask buckets only: which tasks to show, by due date — today, overdue (today only), week (from this day to Sunday), asap, someday, all. null = the day's tasks (today + overdue + ASAP on today), the d…
filter_tag_idTask buckets only: show only the tasks linked to this page (tag id, from list_tags). null = all pages.
notestring | nullText of the block's first linked note (created and linked if the block has none). An empty value or null changes nothing: to detach a note, use unlink_day_block_note.
tag_idsarrayPages linked to the block (tag ids, from list_tags). Replaces the list. A title with #page# or [[page]] also links that page (created if needed).
titlestring | nullBlock label

delete_day_block

Delete a time block. Its ref is pruned from the day's timeline_order; for a task bucket, the tasks themselves are untouched (they fall back to the day's computed bucket). On a recurring block, this removes it from THAT DAY ONLY (the app's "Remove from today"): the block keeps coming back on the other days, and the skipped day does not break the habit streak. To stop the repetition itself, use stop_recurring_block.

ParameterTypeDescription
id *stringBlock UUID

list_recurring_blocks

List the user's recurring time blocks: their ideal day / ideal week ("Meditation" every day at 08:00, "Writing" on weekday mornings). A recurring block is also a habit: each day it appears on the timeline as a regular block the user checks off (see list_day_blocks), and consecutive checked days form a streak. `weekdays` is the rule in force on the given date; `next_change` announces a rule already recorded for later (a repetition that starts or stops on a future date). `notes` lists the notes the repetition keeps ([{ note_id, title, from_date, until_date }], until_date excluded, null = no end;…

ParameterTypeDescription
datestringDate the rule is read at (YYYY-MM-DD). Default: today (UTC).
include_stoppedbooleanAlso return repetitions that no longer plan anything (default false)

create_recurring_block

Make a time block come back on chosen weekdays. Two ways: pass `block_id` to turn an EXISTING block into a recurring one (it becomes the first occurrence and keeps its title, duration and fixed time — do this when the block is already on the timeline, otherwise that day would get it twice), or describe a new one (title, duration, optional fixed time) starting on `start_date`. Nothing is created on the timeline right away: each day's block appears when that day is opened in the app or listed with list_day_blocks. With `anchor_time` the block sits at that hour every day; without it, it is plac…

ParameterTypeDescription
weekdays *arrayISO weekdays the block comes back on: 1 = Monday … 7 = Sunday. Every day = [1,2,3,4,5,6,7]; working week = [1,2,3,4,5].
anchor_timestringFixed wall-clock hour HH:MM. Omit for a block that follows the wake time.
block_idstringExisting block to repeat (from list_day_blocks). When given, title/type/duration/anchor/start_date (and a bucket's filter) are taken from that block.
duration_minutesintegerDuration in minutes (default 30 for an activity, 60 for a bucket)
filter_dueTask buckets only: which tasks to show, by due date — today, overdue (today only), week (from this day to Sunday), asap, someday, all. null = the day's tasks (today + overdue + ASAP on today), the d…
filter_tag_idTask buckets only: show only the tasks linked to this page (tag id, from list_tags). null = all pages.
start_datestringFirst day the rule applies (YYYY-MM-DD). Default: today (UTC). Pass the user's local date when you know it.
titlestringBlock label (e.g. "Meditation")
typestring'block' = activity (default). 'tasks' = a recurring task bucket (e.g. a daily "Writing" window the day's tasks go into).

update_recurring_block

Change a recurring block FROM A DATE ONWARD (title, duration, fixed time, weekdays; for a task bucket, its filter). The past is never rewritten: earlier days keep their blocks as they were, and the habit keeps its history. Upcoming occurrences already created and not yet checked are updated, or removed if their day is no longer planned. To change a single day only, use update_day_block on that day's block instead.

ParameterTypeDescription
id *stringRecurring block UUID (from list_recurring_blocks, or `repeats.recurring_block_id` of a day block)
anchor_timeFixed wall-clock hour HH:MM. Pass null to let the block follow the wake time.
duration_minutesintegerDuration in minutes
filter_dueTask buckets only: which tasks to show, by due date — today, overdue (today only), week (from this day to Sunday), asap, someday, all. null = the day's tasks (today + overdue + ASAP on today), the d…
filter_tag_idTask buckets only: show only the tasks linked to this page (tag id, from list_tags). null = all pages.
from_datestringFirst day the change applies (YYYY-MM-DD). Default: today (UTC).
titlestring | nullBlock label
weekdaysarrayISO weekdays the block comes back on: 1 = Monday … 7 = Sunday. Every day = [1,2,3,4,5,6,7]; working week = [1,2,3,4,5].

stop_recurring_block

Stop a recurring block from a date onward (the app's "Stop repeating"). Past days keep their blocks and the habit keeps its history; upcoming occurrences already created and not yet checked are removed. To skip a single day and keep the repetition, use delete_day_block on that day's block.

ParameterTypeDescription
id *stringRecurring block UUID
from_datestringFirst day without the block (YYYY-MM-DD). Default: today (UTC).

list_tags

List tags (lightweight: the manual tasks_order arrays are omitted — use get_tag for a tag's full ordering). Tags organize contacts, entries, tasks, notes, and companies. Use q to find a tag by name. Archived tags (closed projects) are included unless you pass archived=false; each tag's archived_at tells which.

ParameterTypeDescription
archivedbooleantrue: only archived tags; false: only active tags (default: both)
favoritebooleantrue: only the user's favorite tags (sidebar); false: only non-favorites (default: both)
limitintegerMax results (default 50)
offsetintegerPagination offset
qstringFilter by name (case-insensitive substring match)

get_tag

Get a single tag by ID with all its properties (name, description, color, icon, view mode, favorite status). Includes tasks_order, the manual ordering of the tag page's task list, where entries of the form "h:<header_id>" are section separators (see list_task_headers).

ParameterTypeDescription
id *stringTag UUID

get_tag_items

Get items linked to a tag. By default returns every type in full — on large tags that can be a huge response, so prefer types/status/summary to narrow it (e.g. types=['tasks'], status='pending', summary=true to review a project's open tasks). When tasks are included, the response also contains `sections`: the tag page's task sections with their task_ids (header_id null = tasks outside any section).

ParameterTypeDescription
id *stringTag UUID
statusstringFilter tasks by status
summarybooleanReturn lightweight items (ids, titles, excerpts) instead of full rows — recommended unless full content is needed
typesarrayOnly fetch these item types (default: all)

create_tag

A TAG is a thematic grouping space. Syntax: #name# or [[name]]. Groups notes, entries, tasks, and contacts. Create a new tag. If a tag with the same name already exists, returns the existing tag.

ParameterTypeDescription
name *stringTag name
descriptionstringTag description

update_tag

Update an existing tag. Only send the fields you want to change. Supports name, description, color, icon, favorite status, archiving, and the order of the page's tasks and sections (tasks_order). The description is the place for a page's state (status, deadline, next step): there is no separate field for it.

ParameterTypeDescription
id *stringTag UUID
archivedbooleantrue archives the tag: it leaves the active surfaces (sidebar, page lists, suggestions) but nothing is deleted — its notes, tasks and links stay, and it can be unarchived with false. The way to clos…
colorstringTag color (e.g. 'blue', 'red', 'green')
descriptionstringTag description
iconstringTag icon (emoji or icon name)
is_favoritebooleanWhether the tag is a favorite
namestringTag name
tasks_orderarrayFull display order of the page's tasks: task ids and "h:<header_id>" entries for sections, top to bottom. Read the current one with get_tag, insert or move entries, send the whole array back. Tasks li…

delete_tag

Permanently delete a tag and all its links to contacts, entries, tasks, notes, and companies. Its #tag# / [[tag]] markers are stripped from all content (the words stay). To fold a duplicate into another tag, use merge_tag instead.

ParameterTypeDescription
id *stringTag UUID

merge_tag

Merge a duplicate tag (page) INTO another one: all its links (contacts, entries, tasks, notes, companies) move to the target without duplicates, every #source# / [[source]] in content is rewritten as the target's name, then the source tag is deleted. Use it when two pages describe the same project or theme (e.g. 'Livre' and 'livre photo'), or when update_tag refuses a rename because the name already exists. Confirm with your user which page to keep.

ParameterTypeDescription
source_id *stringUUID of the tag to merge away (it will be deleted)
target_id *stringUUID of the tag to keep

list_task_headers

List all task headers (section separators used to group tasks on tag pages and day views).

ParameterTypeDescription
limitintegerMax results (default 50)
offsetintegerPagination offset

get_task_header

Get a single task header by ID.

ParameterTypeDescription
id *stringTask header UUID

create_task_header

Create a new task header (section separator). Pass tag_id to add it at the bottom of that tag's page; then create_task with header_id files tasks in it. To place it elsewhere on the page, reorder tasks_order (get_tag, then update_tag): the tasks listed after "h:<header_id>" belong to that section.

ParameterTypeDescription
name *stringHeader name
collapsedbooleanWhether the section is collapsed (default false)
descriptionstringOptional description below the header
tag_idstringTag page to add the section to, at the bottom

update_task_header

Update a task header. Only send the fields you want to change.

ParameterTypeDescription
id *stringTask header UUID
collapsedbooleanWhether the section is collapsed
descriptionstringDescription below the header
namestringHeader name

delete_task_header

Permanently delete a task header.

ParameterTypeDescription
id *stringTask header UUID

link_entry_contact

Link an existing contact to an entry.

ParameterTypeDescription
contact_id *stringContact UUID
entry_id *stringEntry UUID

unlink_entry_contact

Remove the link between a contact and an entry.

ParameterTypeDescription
contact_id *stringContact UUID
entry_id *stringEntry UUID

link_entry_company

Link a company to an entry (the company becomes a participant of that interaction). Idempotent. Companies are separate records from contacts: use this (or company_ids) for an organization, link_entry_contact for a person.

ParameterTypeDescription
company_id *stringCompany UUID
entry_id *stringEntry UUID

unlink_entry_company

Remove the link between a company and an entry.

ParameterTypeDescription
company_id *stringCompany UUID
entry_id *stringEntry UUID

keep_recurring_block_note

Keep a note in a recurring block (the app's "Keep for the following days"): from `from_date` on, every occurrence of the repetition shows it — a running log for a project block, a checklist for a routine. Days already planned are included, earlier days are untouched. Nothing is copied: it is one note, the same everywhere. A note written in a recurring block belongs to that day only until it is kept. Get repetition ids from list_recurring_blocks (or `repeats.recurring_block_id` in list_day_blocks); each repetition lists its kept notes in `notes`.

ParameterTypeDescription
note_id *stringNote UUID
recurring_block_id *stringRecurring block (repetition) UUID
from_datestringFirst day the note appears (YYYY-MM-DD). Default: today (UTC).

stop_keeping_recurring_block_note

Stop keeping a note in a recurring block (the app's "Stop keeping"): occurrences on or after `from_date` no longer show it, earlier days keep it. The note itself survives. To keep it on one particular day only, link it to that day's block afterwards with link_day_block_note.

ParameterTypeDescription
note_id *stringNote UUID
recurring_block_id *stringRecurring block (repetition) UUID
from_datestringFirst day the note no longer appears (YYYY-MM-DD). Default: today (UTC).

link_entry_note

Link an existing note to an entry (N-N, non-destructive): the note is the write-up of that interaction, shown as a preview on the entry's card. Typical case: after a meeting block, the short entry ("Meeting · Coffee with Constance") points to the note where the user prepared then wrote the meeting.

ParameterTypeDescription
entry_id *stringEntry UUID
note_id *stringNote UUID

unlink_entry_note

Remove the link between a note and an entry. Both the entry and the note survive.

ParameterTypeDescription
entry_id *stringEntry UUID
note_id *stringNote UUID

get_contact_timeline

Get a unified, chronological feed of ALL items related to a contact — entries, tasks, and notes — sorted by date (most recent first). Much more efficient than fetching entries, tasks, and notes separately.

ParameterTypeDescription
id *stringContact UUID
fromstringStart date filter (YYYY-MM-DD)
limitintegerMax results (default 20)
offsetintegerPagination offset
tostringEnd date filter (YYYY-MM-DD)
typestringFilter by item type (default: all)

get_tasks_today

Get all tasks for today: overdue tasks + tasks due today + ASAP tasks. Each task has a 'category' field ('overdue', 'today', or 'asap'). Includes counts per category.

get_tasks_overdue

Get only overdue tasks (pending tasks with a due date before today). Sorted by date ascending (oldest first).

get_changelog

List the items created or changed since a given timestamp, across all entity types. Returns server_time to use as 'since' for the next call.

ParameterTypeDescription
since *stringISO timestamp — only items modified after this time are returned (e.g. 2026-02-11T10:00:00Z)
limitintegerMax items per entity type (default 50, max 100)
typestringFilter by entity type (default: all)

list_note_comments

List the marginalia attached to a note. A marginalia is working material the user keeps ALONGSIDE a note without it entering the text: an idea, a reference, a link, an excerpt pasted to rewrite a passage later. They are never published, and they are meant to be TEMPORARY — anything worth keeping becomes a note or a linked task. Each one is either attached to a specific passage (`quote` is set) or to the whole note (`quote` is null).

ParameterTypeDescription
note_id *stringNote UUID

create_note_comment

Write in the margin of a note. This is the right move whenever your user asks you to review, critique, proofread or annotate their text: the remark lives alongside the note without ever entering it, and it stays there after the conversation ends — unlike anything you write in the chat. Anchor a remark to a passage by copying that passage VERBATIM into `quote`; the server locates it and stores the surrounding context so the comment survives later edits. Omit `quote` to comment on the note as a whole. A quote that is not found verbatim is refused rather than attached to the wrong place. Your…

ParameterTypeDescription
body *stringThe material itself (markdown, any length)
note_id *stringNote UUID
quotestringPassage to attach to, copied verbatim from the note content. Omit for a note-wide comment.

update_note_comment

Edit the content of a marginalia. There is no intermediate state: a marginalia exists, or it is deleted. A remark that should outlive the note's revision becomes a note or a linked task instead.

ParameterTypeDescription
body *stringNew content (markdown)
comment_id *stringComment UUID
note_id *stringNote UUID

delete_note_comment

Delete a marginalia. Marginalia are temporary by design, so this is the normal way to retire one — there is no recoverable middle state.

ParameterTypeDescription
comment_id *stringComment UUID
note_id *stringNote UUID

get_agent_instructions

Returns Keepsake's usage guide: what each kind of item is (contact, company, entry, note, task, page, day block), how they link together, how to choose between a note, a task and an entry, and the conventions of the app.