How to publish a deck
publish_deckGet the exact commands to build and publish a deck project to this workspace. This server can't build MDX, so it returns steps to run on the computer that has the project (or points to the local kadal-deck mcp server). Use it when the person wants to publish a new deck or a project's changes; use start_quick_edit then publish_draft instead for a small edit to a deck already published with its source, and update_deck for settings. Read-only: it publishes nothing.
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_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | The slug to publish as; the steps then name it and say whether that deck already exists (publishing adds a version) or will be new. Omit to use the project folder's name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | Yes | ||
| steps | Yes | ||
| workspace | Yes | ||
| localServer | Yes | ||
| canBuildHere | Yes | ||
| existingDeck | Yes |