show_docs
Render Markdown documentation cards as larger macOS popups for summary reports, API results, changelogs, and key findings, with optional action buttons.
Instructions
Show a larger documentation-style popup on Wael's macOS screen. Renders MARKDOWN by default (headings, lists, tables, nested quotes, code, mermaid diagrams, buttons). Use it to surface rich information: a summary report, API results, a changelog, key findings. Stays longer on screen than show_popup.
FORMAT: markdown is the default and covers 95% of cards. Pass format="html" ONLY when the card must lay something out visually — KPI tiles, multi-column dashboards, inline SVG charts, progress bars, comparison grids. HTML is sanitized: only a whitelist of tags and CSS properties survives, no script, no iframe, no form, no external stylesheet, no url() in styles.
BUTTONS: a fenced block tagged buttons renders real action buttons in place, one per line, e.g. buttons\nOpen the thread | https://example.com\nCopy SN | copy:SN123\nClose\n. The same buttons can also be passed through the buttons parameter. A markdown link is clickable too and opens the default browser, but a button is louder and survives a 480px card better.
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": {
"title": "<title>"
},
"name": "show_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Alternative to `markdown` when format='html' (equivalent, clearer at call site) | |
| level | No | Accent color: info/success/warning/error | |
| title | Yes | Title of the docs card | |
| format | No | Rendering mode. Default 'markdown'. 'html' is sanitized and meant for layouts, KPI tiles, SVG charts and dashboards. | |
| screen | No | Display id, index, label, 'primary', or 'focused'. Omit for primary. | |
| source | No | Origin chip label | |
| buttons | No | Action buttons rendered under the card. An entry is either an object or a one-line string: {"label": "Open the thread", "url": "https://..."} -> opens the default browser, where the session is already logged in {"label": "Copy SN", "copy": "SN123456"} -> copies to the clipboard {"label": "Close"} -> dismisses the card "Label | https://... | primary" -> same thing, one line Optional style: primary | secondary | danger (the first button defaults to primary). A button is how a card becomes actionable: show_popup renders plain text, so use show_docs or this array when Wael has to click something. The button does not reply to you: it opens a page or copies text. Everything the agent must learn has to be written in the card itself. | |
| duration | No | Seconds before auto-dismiss (default 30, max 300) | |
| markdown | No | Content to render — Markdown by default, an HTML fragment when format='html' |