Create a deck
deck_createScaffold a new Kadal Deck folder from the starter template and install its dependencies, so you can build, check and render MDX slide decks with a live audience room.
Instructions
Scaffold a new Kadal Deck folder from the starter (deck.mdx, deck.config.ts, src/, AGENTS.md) and install its dependencies. The folder must not exist or be empty. Afterwards, pass the same dir to the other tools.
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": {
"dir": "<dir>"
},
"name": "deck_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | The new deck's folder (absolute, or relative to the server's folder). | |
| title | No | The talk's title (default: from the folder name). | |
| install | No | Install dependencies (default true; needed to build, check imports or render). | |
| packageManager | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| dir | Yes | ||
| next | Yes | ||
| files | Yes | ||
| title | Yes | ||
| installed | Yes |