Save writing context
set_contextSave or rewrite one context document (kind: voice, audience, guardrails, facts, strategy, or learnings). The body replaces the saved one whole. It is stored in Postmoderno, so it survives switching to a different AI client. For when the user says how they want to sound or to post, corrects how a post reads, or shares what worked.
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": {
"kind": "<kind>",
"key": "<key>",
"body": "<body>"
},
"name": "set_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Short slug naming this document, e.g. default. Lowercase letters, digits, dash, underscore. | |
| body | Yes | The document itself, in markdown. Write it for another writer to follow. | |
| kind | Yes | One of: voice (how the user writes), audience (who they write for), guardrails (what to avoid), facts (product/company details worth getting right), strategy (how often and when they post, and which kinds of post go when), learnings (dated notes on what worked and what did not). | |
| label | No | Human-readable name for this document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| kind | Yes | ||
| note | No | ||
| scope | Yes | ||
| created | Yes |