walkthrough
Explain code in VS Code with inline bubbles, highlights, and narrated multi-step tours. Navigate active tours, clear bubbles, or check status when helping users understand how code works.
Instructions
Show, explain, and tour code in VS Code — the one tool for all code presentation with commentary, from single inline explanations to multi-step narrated tours. Use when the user asks to explain code, walk through code, tour a codebase, ask 'how does this work', navigate an active tour, clear bubbles, or check walkthrough state. Do NOT use for jumping to code without commentary — use show_code instead. Dispatches by arguments: one step with explanation shows an inline markdown bubble (single-step explain); one step WITHOUT explanation highlights only (same as show_code); multiple steps start a narrated tour; action: 'clear' removes all bubbles; action in {'next','prev','goto','stop','pause','resume'} navigates an active tour (pass step index for goto); no arguments returns current status. Proper usage for multi-point steps: keep explanation to 1–2 intro sentences and put each point in its own highlights[] entry with its own line range and narration — the teleprompter UX (selection moving with the voice, bubble text building up) depends on this pattern. Cramming multiple points into one long explanation breaks both the audio flow and the visual sync. Never use numbered lists (1. 2.) in explanations or narrations — TTS reads them as 'one dot… two dot' and it's painful. Markdown: real newlines for paragraphs, NOT literal backslash-n; avoid ## headers — use bold instead. Uses global voice/bubble/autoplay settings from the settings tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Step index (0-based) for action='goto' | |
| steps | No | Steps to show. One step with explanation = inline explain. One step without explanation = highlight only. Multiple steps = narrated tour. Precedence: when provided with a non-empty array, takes priority over `action`. | |
| action | No | Control an active walkthrough or clear bubbles. 'clear' removes all explanation bubbles; 'goto' requires `step`; others navigate the current tour. |