get_slide_format
Fetch the Deckrun slide format specification to learn layout tags, Markdown syntax, and rules for creating presentation slides.
Instructions
Fetch the authoritative Deckrun slide format specification. Call this first to learn all layout tags, Markdown syntax, and rules before writing slides. Returns JSON with layout_tags, surface_syntax, example_markdown, and limits.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- deckrun_mcp.py:282-306 (handler)The handler function `_get_slide_format` fetches the slide format schema from a remote URL (`SCHEMA_URL`) and returns it as structured text content.
async def _get_slide_format() -> list[types.TextContent]: """Fetch the Deckrun slide format schema and return it as text.""" try: resp = requests.get(SCHEMA_URL, timeout=15) resp.raise_for_status() data = resp.json() summary = { "slide_separator": data.get("surface_syntax", {}).get("slide_separator", "---"), "layout_tags": data.get("surface_syntax", {}).get("layout_tags", []), "two_column": data.get("surface_syntax", {}).get("two_column", {}), "notes": data.get("surface_syntax", {}).get("notes", ""), "example_markdown": data.get("example_markdown", ""), "limits": { "max_slides": 10, "max_body_size_kb": 50, "pdf_expiry_days": 90, }, "heading_convention": ( "Title slide uses # (H1) for presentation title. " "All other slides use ## (H2) for slide heading." ), "schema_version": SCHEMA_VERSION, } return [types.TextContent(type="text", text=json.dumps(summary, indent=2))] except Exception as exc: