components_v2_build_section
Create a card-style Discord message section (type 9) with 1-3 text lines and a required thumbnail or button accessory.
Instructions
Purpose: Build a Components V2 Section (type 9) - 1-3 TextDisplay lines plus a REQUIRED Thumbnail or Button accessory (Discord rejects a Section without one).
When to use: card-like content with header + supporting text + image.
Returns: {component} - Section JSON node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 1-3 markdown text lines | |
| accessory | Yes | Required Thumbnail (type 11) or Button (type 2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||