Read a deck's editable source
get_deck_sourceRead the text of a deck's editable files (deck.mdx, pages/, data/, drawings/…) as published in its live version or an earlier one. Use it to review, quote or summarise a deck's content or to plan an edit; this server has no tool that writes slides, so to change them use start_quick_edit (the person edits in the builder) or the CLI. Unpublished web edits live in the draft, not here — get_deck_sync says if there are any. Read-only. Fails for a version list_versions doesn't show, or one published without its source (a CLI older than 0.5, or --no-source).
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": {
"deck": "<deck>"
},
"name": "get_deck_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | The deck's id (starts with `d`) or its slug, as list_decks returns them; case-insensitive. A deck outside this workspace fails with “No deck …” — call list_decks. | |
| version | No | A version number from list_versions. Omit for the live version. | |
| max_bytes | No | Text budget across all files, 1,000–400,000 bytes (default 120,000). Files are read in path order; one that no longer fits is still listed, with its size and `truncated: true` but no text — raise this to get it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes |