Skip to content
API & MCP

MCP tools

The server offers eight tools. They are the same calls as API v1, with the same rules and the same quota.

Tool Title readOnlyHint destructiveHint idempotentHint openWorldHint
get_context Get context true false true false
search Search true false true false
get_item Get item true false true false
timeline Timeline true false true false
remember Remember false false false false
create_document Create in Documents false false false false
update Update a task, milestone, sub project, version or document false false true false
delete Delete a task, milestone, sub project, version or document false true true false

remember, create_document, update and delete are only listed if the credential has cerebro:write. With a read-only token, the assistant sees four tools.

The most useful one: describe what you are about to do and get a compact Markdown brief from the person’s memory (the closest items, their connections and today’s date) within a token budget. Same as POST /v1/context.

Input Type Required Limits Default
task string yes 1–2,000 characters
maxTokens integer no 300–8,000 2,000
focus string[] no up to 10 refs

Returns: only the Markdown text (not the JSON with items and tokens).

Searches by meaning and by words at once. Same as POST /v1/search.

Input Type Required Limits Default
query string yes 1–500 characters
types string[] no notebook, project, trip, event, person, group, milestone, subproject, task, document, page, note, conversation all
limit integer no 1–50 10
includeClosed boolean no false (no finished tasks)

Returns: the API JSON (results and tookMs) as text.

It also opens a document, a page, a note (note:…) or one day of a conversation (Documents, pages, notes and conversations). A canvas page returns its canvas as JSON Canvas in fields.canvas.

Reads one item in full: its text, pages, notes, fields, connections (verb and direction) and tags. On a project, trip, event, notebook, person or chat group, notes brings the notes on its “Ideas & notes” with their text (how they come). A chat group (group:…) also lists its members, and a person, the chat groups they are in. Same as GET /v1/items/{ref}.

Input Type Required Limits
ref string yes a ref such as person:<uuid>

Returns: the item JSON as text.

What happened, newest first: items created or updated, tasks completed or due, trips and events that occurred. Optionally around one item. Same as GET /v1/timeline.

Input Type Required Limits Default
from string no ISO 8601 date 30 days before to
to string no ISO 8601 date now
about string no a ref
limit integer no 1–500 100
cursor string no nextCursor from the previous page

Returns: the API JSON (events and nextCursor) as text.

Saves something durable to the person’s memory. meemoo avoids duplicates (adds to an item with the same name instead of repeating it), resolves people and connects it to what it mentions. kind group saves a chat group (a WhatsApp group or a Slack channel), never a person. kind notebook saves a notebook and notebookKind says if it is a concept, a thought or an idea (default thought); kind auto without about saves a notebook of kind thought. Same as POST /v1/memories?wait=true.

Input Type Required Limits Default
content string yes 1–20,000 characters (Markdown)
title string no up to 200 characters the first line
kind string no auto, notebook, person, group, project, trip, event, task, note, subproject, milestone, version auto
about string no ref of an existing item (only with kind auto)
in string for task, note, subproject, milestone and version task: project, trip, event or milestone; note: project; subproject: project, trip or event; milestone: project, trip, event or sub project; version: project
due string no YYYY-MM-DD: the task’s date, the milestone’s end date or the version’s release date
dueTime string no HH:MM (24 h), task only
startDate string no YYYY-MM-DD, milestone only
milestone string no task: milestone:… or a title (used or created); up to 300 characters
subproject string no milestone, or task with milestone by title: subproject:… or a name; up to 200 characters
version string no task or milestone in a project: version:… or its number (1.2); up to 80 characters
dependencies string[] no task: the tasks of the same project, trip or event it depends on (task:…), up to 20
links object[] no up to 8 { ref, verb? }
source object no { app?, url?, occurredAt? }
idempotencyKey string no up to 200 characters

Returns: the memory JSON. It always waits up to 10 seconds: it almost always comes back with status: "done" and its result (action, ref, title, url, links). If it takes longer, it comes back queued or processing with its id. The rules are in How your writes are organized.

Creates something in the Documents of a project, trip, event, notebook, person or chat group, as the person does in the app: a link, a text page (Markdown), a canvas page (JSON Canvas) or a code page, or a folder. Same as POST /v1/documents.

Input Type Required Limits
in string yes project:…, trip:…, event:…, notebook:…, person:… or group:…
type string yes link, page (text), canvas, code, folder
title string except for link up to 300 characters; for folder, its name (up to 200). A link without title is named after its address
url string with link http:// or https://; up to 4,000 characters
content string no page: the Markdown; code: the code; up to 200,000 characters
canvas object no only canvas: the canvas in JSON Canvas ({ nodes, edges }), up to 5,000 nodes
language string no only code: one from the list, spelled the same
folder string no the folder: folder:… or a name ("A/B" nests; a missing one is created); up to 500 characters. With type folder, the parent one, by name

Returns: the response JSON: ref (page:…, document:… or folder:…), type, title, action (created, or merged for a folder that already existed), url and, when they apply, folder, alsoCreated (the folders created on the way), nodes and edges. Change it later with update and delete it with delete.

Changes a task as the person would in the Backlog: moves it to another column, changes its title, priority, dates, time, who does it, its milestone, its versions, its dependencies, who it waits on or its description. Also a milestone, a sub project or a version, as in the Roadmap (fields of each). And in Documents, a page, a link or a folder (fields of each). Only what you send changes. Same as PATCH /v1/items/{ref}.

Input Type Required Limits
ref string yes task:…, milestone:…, subproject:…, version:…, page:…, document:… or folder:…
status string no backlog, sprint, in_progress, review, waiting, done, cancelled. In shared work, moving it to review or done puts the person among its owners (rule)
title string no 1–300 characters
priority string no p0, p1, p2, p3
description string | null no replaces the whole description; up to 40,000 characters
startDate string | null no YYYY-MM-DD
due string | null no YYYY-MM-DD
dueTime string | null no HH:MM (24 h); needs a date
assignee string | null no the main owner: "me", person:…, the email of someone in the project, or null
assignees string[] no all the owners (the first is the main one); up to 20; not together with assignee
dod, dor (string | object)[] | null no the whole list, up to 30 points; each a text or { text, checked, assignee } of up to 500 characters; checking one moves the task to whoever does the next
milestone string | null no milestone:… of the same project or a title (used or created), or null
subproject string | null no task: with milestone by title; milestone: its sub project, or null
versions string[] no the whole list of versions (version:… or numbers), up to 20; [] takes it out of all
dependencies string[] no the whole list of tasks it depends on (task:… of the same project, trip or event), up to 20; [] removes them all (rules)
changelog string | null no version: its changelog; up to 40,000 characters
waitingOn string | null no up to 120 characters
content string | null no text page: its whole Markdown; code page: its whole code. Replaces it; up to 200,000 characters
canvas object | null no canvas page: the whole canvas in JSON Canvas (read it with get_item, change it, send it back); null empties it
language string | null no code page: its language, from the list
url string no link (document:…): its new address; up to 4,000 characters
folder string | null no page or document: the folder (folder:… or a name; created if missing), or null to leave it at the top

Returns: the ref, the fields that changed (changed) and how it looks now (item). For a task, item also has dod, dor, versions, dependencies, dependents and blocked; for a milestone, a sub project or a version, its own fields (the shape of each); for a page, a document or a folder, theirs (the shape of each).

Deletes a task (task:…) for good. For a duplicate, prefer update with status: "cancelled": it stays in Cancel and can come back. Also deletes a milestone (its tasks become loose), a sub project (its milestones are left without one) or a version (its tasks and milestones stay). And in Documents, a page, a document (not while it’s used in a page: 409 conflict) or a folder (what it had moves up to the parent). What comes from a GitHub repo is read-only: update and delete answer 409 conflict. Same as DELETE /v1/items/{ref}.

Input Type Required Limits
ref string yes task:…, milestone:…, subproject:…, version:…, page:…, document:… or folder:…

Returns: { "ref": "…", "deleted": true }.

Projects, trips and events that someone else shared with the person show up in search, get_item and get_context, and you write in them with the person’s role: an editor creates and changes tasks, notes and documents; a viewer only reads (403 forbidden). Their own library is never connected to someone else’s items, so links doesn’t apply there, and the owner’s Assistant tags are not shown.

An error comes back as a tool result with isError: true and the text code: message (for example invalid_request: …). The codes are the API’s. See Errors.