publish_story
Publish a NEW worklore story as the signed-in account. worklore stories are PUBLIC and honest, so before you call this you MUST show the human the complete draft — the title, the first-person narrative, and the 'Reproduce this' contract — and get their EXPLICIT approval. Never publish on your own initiative and never invent details. Provide the full story as markdown (frontmatter with title/date/tags/type/reproducible, then '# title', the narrative, then '## Reproduce this' with prerequisites/inputs/steps/verify) — call get_story on an existing story first to match the format — OR provide the structured fields title + narrative (+ reproduce, tags, type, stack) and the server assembles it. SANITIZE: no secrets, employer internals, client names, or private URLs. Returns the live URL and capability tier.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 3-6 lowercase kebab tags. | |
| type | No | success (default), fail, or proposal — a proposal is work the author believes is right but cannot prove yet, published to get evidence or review rather than to claim a result. | |
| stack | No | Optional: the ecosystem this story is about. | |
| title | No | Story title (used only if `markdown` is not given). | |
| markdown | No | The complete story markdown (frontmatter + '# title' + narrative + '## Reproduce this' contract). Preferred. | |
| narrative | No | First-person narrative, ~150-400 words, honest (used if no `markdown`). | |
| reproduce | No | The 'Reproduce this' contract body: prerequisites, inputs, ordered steps, verify. | |
| visibility | No | public (default) — anyone can read and reproduce it; private — only the author can, and it appears in no feed, search, badge or link. Ask the human which they want if the draft contains anything they may not want public. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| slug | No | ||
| similar | No | ||
| capability | No |