Outbox: append a block to a daily page
outbox_appendAppend an HTML block to a daily-style page, creating the page if it does not exist; existing content stays unchanged and each append is versioned.
Instructions
Appends an HTML block to a daily-style page (append-only; each append is versioned). Creates the page if it does not exist. Existing content is not modified. The API requires model on the first append of each UTC day; when omitted, 'outbox-mcp' is sent. With idempotencyKey, the append is deduplicated when outbox_capabilities lists dailyAppend in features.idempotencyEndpoints (the current API does). title and visibility belong to the daily page: they apply on the append that CREATES the day; later appends of the same day ignore them (returned in ignoredAttributes) unless applyAttributes:true. createOnly:true = only create a new daily: if the slug already has one, 409 daily_exists and nothing is written. The result includes the idempotencyKey that was used.
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": {
"slug": "<slug>",
"html": "<html>"
},
"name": "outbox_append"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML of the block to append | |
| slug | Yes | Long-lived daily page slug; blocks are grouped by day inside it (e.g. 'journal' or 'work/log'). Reserved: 'daily', 'daily/...' and any segment starting with '_' (400 reserved_slug) | |
| user | No | Page owner username (default: the connected account) | |
| label | No | Block label (optional, max 64) | |
| model | No | Id of the model that generated the block (e.g. 'claude-opus-4-8'). Required by the API on the first append of each UTC day; omitted = 'outbox-mcp' | |
| title | No | Daily page title (optional). Applied on the append that CREATES the day (the first of each UTC day); without title, the new day inherits the previous day's. Later appends of the same day ignore it (returned in ignoredAttributes) unless applyAttributes:true: send it only to change it | |
| summary | No | Daily page summary (optional; derived from the title or the HTML when missing on creation) | |
| createOnly | No | true = the append may only CREATE the daily: if the slug already has a daily (any day), the API returns 409 daily_exists and nothing is written. Use it when the user asked for a NEW daily, so blocks (and visibility/title) never land on an existing one | |
| visibility | No | Daily page visibility. Applied on the append that CREATES the day (the first of each UTC day); without visibility, the new day inherits the previous day's (private when there is no previous day). Later appends of the same day ignore it (returned in ignoredAttributes) unless applyAttributes:true, and 'public' exposes today's blocks. To change it without appending use outbox_set_visibility. Pass it only if the user asked for it | |
| contentType | No | Free content type (e.g. notes, log) | |
| idempotencyKey | No | Idempotency key (Idempotency-Key header). It prevents a duplicate only if outbox_capabilities lists this operation in features.idempotencyEndpoints. Omitted = generated | |
| applyAttributes | No | true = apply title/visibility even if the day already exists (a continuation append ignores them by default). Only if the user asked to change them | |
| rejectOnSecrets | No | true = if the content appears to include credentials (API keys, tokens, private keys) it is NOT published (422 secrets_detected with type and line). Omitted = it is published and the result warns in warnings.secrets |