Append to a note (creates it if missing)
append_to_noteAppends text to a note by exact filename, creating the note if missing. Ideal for logging AI sessions, journal entries, or cron output to a stable file.
Instructions
Append text to the note with the given exact filename, creating the note if it does not exist yet (find-or-create). This is the primitive for logging: call it repeatedly to accumulate entries (AI session logs, cron output, journal lines) in one note addressed by a stable filename like "ai-sessions.txt". Plain text only.
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": {
"filename": "<filename>",
"text": "<text>"
},
"name": "append_to_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Exact filename to append to / create, e.g. "ai-sessions.txt". | |
| text | Yes | The text to append (added as a new entry). | |
| append_only | No | On first-touch creation only: lock the note append-only (default true). Ignored if the note already exists. |