Write note
write_noteWrite a note: shared reference text kept in a database's Meta information, read by every user and agent with access to the database. Notes are how a procedure, decision, finding or status recorded now is still there for the next session.
Keep a note short and to one subject, and file it under every topic a reader might start from, so it is reached by browsing from any of them: topics takes a list, the first being its main topic. Each topic is an existing set inside Meta information, or Meta information itself, and all are checked before anything is written.
mode 'create' (the default) adds a new note called title under the topics. The text goes in the note's AI TEXT attribute and today's date in DATE. mode 'append' adds text to an existing note in one of the topics as a new attribute named UPDATE - for a short status change on the same subject; a new subject belongs in a new note. Append also files the note under any listed topic it is not yet in. Nothing is ever replaced or deleted.
The response gives noteChars, and a warning once a note passes 3000 characters.
A provenance line - Provenance: Name with on - is added at the end of the text unless the text already ends with one.
Titles: browsing shows titles only and title matches rank first, so put every term a reader would look for in the title. A title is one line and cannot contain ';' or a backtick. 'create' refuses a title already used by a note in one of the topics (append to it instead) or by any other name in the database, and every refusal says nothing was written.
Returns nameId, action ('created' or 'appended'), the attribute written, the date, and changed: true.
source: where the content comes from - a conversation, file, URL or document. agent: your AI agent name (e.g. "Claude"). Both are required and land in the audit trail.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database": "<database>",
"title": "<title>",
"text": "<text>",
"source": "<source>",
"agent": "<agent>"
},
"name": "write_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'create' (default) for a new note, 'append' to add to an existing note in one of the topics | |
| text | Yes | The note's text. For 'append', the text to add. | |
| agent | Yes | AI agent name (e.g. "Claude"). REQUIRED. | |
| title | Yes | The note's title - one line, no ';' or backtick, with every term a later search will use | |
| topic | No | A single topic - the same as topics with one entry. Give topics or topic. | |
| source | Yes | Where the content comes from - conversation, file, URL or document. REQUIRED. | |
| topics | No | Every set inside Meta information the note belongs in, main topic first, e.g. ["Import", "Data model"] | |
| business | No | Optional. The business this call is for, by name, e.g. "azquo" - it then runs there whatever business the session is in. Worth giving on writes when you work in more than one business: a new MCP session starts in the login's own business. list_businesses shows the names. | |
| database | Yes | Database name, e.g. "azquo_skills" or a project database |