components_v2_build_media_gallery
Builds a Components V2 MediaGallery JSON node from 1–10 media items, each with a URL and optional spoiler or description, for Discord message components.
Instructions
Purpose: Build a Components V2 MediaGallery (type 12) - 1-10 media items.
Returns: {component} - MediaGallery JSON node.
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": {
"items": "<items>"
},
"name": "components_v2_build_media_gallery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | 1-10 media items |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||