Skip to main content
The Brain holds what the company is, sells and decides, written once and read by every coworker of the workspace from its next run. These tools read and write its pages. Writing needs a member behind the key: a write is signed in the page history with the name of the member who created it. A key that acts for the workspace still lists, searches, reads and deletes pages. Like the app, they are open to every member of the workspace. A page filed under a Box the key cannot open reads as filed for everyone.

list_brain_pages

Lists the pages of the Brain, without their content.
string
Only the pages of this type.
string
Only the pages filed under this Box.
Response
The types are company, offering, market, team, voice, stack and priorities for the cards of the company, and customer, competitor, person, product, decision and note for pages about one thing.

search_brain

Searches the Brain about a subject, by meaning and by keyword, the way a coworker searches it during a run. Returns the pages that match, best first, each with its two best passages, and in related the pages linked to them.
string
required
What to look for, in plain words.
number
Default 5, between 1 and 10.
string[]
Only the pages carrying at least one of these tags.
string
Only the pages filed under this Box. A Box the key cannot open finds nothing.
Response
Read a page in full with get_brain_page. A machine that has not been updated since this tool shipped answers that it must be updated first: until then, list_brain_pages and get_brain_page read the Brain.

get_brain_page

Reads one page in full: its markdown content, its sources, the pages it links to and the ones linking to it (backlinks), its hash and its revisions, newest first.
string
required

write_brain_page

Creates a page, or rewrites one. The write replaces the whole page.
string
required
Lowercase kebab-case, 64 characters at most, for example pricing or acme-corp.
string
required
120 characters at most.
string
required
One of the types above.
string
required
The whole page in markdown, 60,000 characters at most.
string[]
Where the facts come from: URLs or file paths, 50 at most.
string | null
required
null to create the page. To change one, the hash that get_brain_page gave.
string
File the page under this Box, the way the Brain files a page in the app. Leave it out to keep it for everyone.
Response
A write made against an older hash, because someone changed the page since you read it, is refused. Read the page again with get_brain_page and redo your change on what it says now. Filing under a Box comes after the write. When it fails, the page stays written for everyone and the answer carries a note: call write_brain_page again with the new hash and spaceId to file it.

delete_brain_page

Deletes a page. No coworker reads it any more, and the links to it from other pages break. Needs confirm: true.
string
required
boolean
required