Components v2
Components v2
Section titled “Components v2”8 tools in this category.
components_v2_build_container Build a Components V2 Container (type 17) JSON node ready to nest into `components_v2_send`.
components_v2_build_media_gallery Build a Components V2 MediaGallery (type 12) — 1-10 media items.
components_v2_build_section Build a Components V2 Section (type 9) — 1-3 TextDisplay lines with optional Thumbnail or Button acc
components_v2_edit Edit a Components V2 message previously sent by this bot. The `IS_COMPONENTS_V2` flag is irreversibl
components_v2_preview Render a Components V2 layout as ASCII so the agent can sanity-check structure without sending. Pair
components_v2_send Send a Components V2 message — rich layout (Container, Section, MediaGallery, ActionRow, ...). MUTUA
components_v2_send_from_template Apply variables to a built-in V2 template and send the result.
components_v2_validate Validate a Components V2 components array OFFLINE (no Discord API call). Catches 40-cap, nesting vio