Create tab card
create_tab_cardRender an interactive tabbed card to compare contexts of one subject, such as programming languages, OS, or skill levels. Each tab shows plain text, HTML, or code with a copy button.
Instructions
Render an interactive card with tabs, each showing a different context of the same subject (for example one tab per programming language, OS, or skill level). Tab content can be plain text, HTML, or code with a copy button.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabs | Yes | ||
| title | Yes | ||
| subtitle | No | ||
| tutorTerms | No | Educational tutor terms. The first occurrence of each term in the card's visible prose is underlined; hovering ~1.2s shows the tip and notifies the host so the model can follow up. Terms are matched once per card, longest first, and never inside code samples, tooltips, or another term's tip. Matching is CASE-SENSITIVE, so "PATH" does not attach its tip to a filesystem "path"; set caseInsensitive on a term to match any casing. Term and tip are PLAIN text. | |
| contextActions | No | Right-click menu actions the model anticipates being useful. Choosing one sends its prompt to the conversation; use {{selection}} to include the user's selected text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| parts | Yes | Split state, present on EVERY card result so one completeness check works for all card types. Cards that cannot split always report {current:1,total:1,hasMore:false}; create_markdown_card and create_code_tour_card pack oversized content into parts and can report more. Read hasMore rather than the card title to decide whether content was withheld. |