Publish a doc
publishPublishes Markdown, HTML or an OpenAPI .yaml/.json (answers what changed and breaks). A file with the same name in that place updates its doc (same link, a new History entry); otherwise it becomes a new doc. Unchanged content is skipped. A .csv becomes a new live sheet, typed as Excel opens it; after that it changes with edit_sheet, never by a file. Slides: An .html file of slides (1920×1080) makes new Slides: , one per slide, each element a box with a class and left/top/width/height in px, or inside a div class="stack" or "grid". Before your first deck, get with "kit" (and a "theme") gives the classes and an example. Pictures: files beside it, or https URLs. Replies with the outline and anything to fix. After that it changes with edit_slides. Boards: A .canvas file (JSON Canvas: text, link, file and group nodes, edges) makes a new board, laid out as given: groups become frames, text nodes stickies, links embeds, edges connectors; up to 500 nodes and edges. An empty .canvas makes an empty board. A template starts one instead: "template" with an empty .canvas (start-stop-continue, 4ls, mad-sad-glad, brainstorm, workshop, design-sprint). After that it changes with edit_board. To change part of a Markdown or HTML doc, use edit_doc, not a whole new file. An existing private doc is made public from Share in the Dockito app.
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": {
"name": "<name>",
"content": "<content>"
},
"name": "publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | "project" or "project/folder". Default: the workspace's Docs. Ask the user when a doc belongs in a project; never guess. | |
| doc | No | Update this doc (link or code) instead of matching by name. | |
| new | No | A new doc even if one with this name is there. | |
| name | Yes | The file name, with .md, .html, .csv, .canvas, .yaml, .json or .docx: "plan.md". It titles the doc and matches it next time. | |
| files | No | Slides only. Pictures the .html names, as {"photo.webp": "<base64>"}, 10 MB in all. https URLs in it are fetched. More of the person's pictures go in later with upload. | |
| title | No | A new doc's title. Default: the file name without its extension. An existing doc keeps its title; rename changes it. | |
| public | No | Anyone with the link can open it, no sign-in. Only when the user asked. Only for a new doc. | |
| content | Yes | The whole file; a .docx (a new Word doc) as base64. | |
| message | No | Keep this entry as a saved point, with this note. | |
| template | No | Boards only: a new board from a template, with an empty .canvas: start-stop-continue (retro), 4ls (Liked, Learned, Lacked, Longed for), mad-sad-glad, brainstorm, workshop (an agenda with an icebreaker and timed sections), design-sprint (Monday Map to Friday Test). Its frames come with prompts and guiding stickies; fill them with edit_board. | |
| workspace | No | Workspace slug. Default: the only one, else the user's personal one. |