List D2 Themes
d2_list_themesList all available D2 diagram themes by ID and name, split into light and dark categories, to select a theme for rendering. The built-in list requires no local d2 binary.
Instructions
List all available D2 diagram themes with their IDs and names.
Use theme IDs with d2_render's theme_id parameter. No d2 binary required — theme list is built-in.
Args: (none)
Returns: JSON object: { "light": [{ "id": number, "name": string }], "dark": [{ "id": number, "name": string }] }
Notable themes:
0: Neutral Default (clean, professional — good default)
3: Flagship Terrastruct (vibrant, colorful)
8: Colorblind Clear (accessible palette)
200: Dark Mauve (dark mode)
300: Terminal (monospace, dot-fill containers, uppercase labels)
302: Origami (paper-like aesthetic)
303: C4 (C4 architecture diagram style)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||