components_v2_preview
Render a Components V2 layout as ASCII to inspect structure before sending. Use offline checks to catch layout issues before posting to Discord.
Instructions
Purpose: Render a Components V2 layout as ASCII so the agent can sanity-check structure without sending. Pairs with components_v2_validate for offline iteration.
Returns: {ascii} - multi-line string visualizing the layout.
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": {
"components": "<components>"
},
"name": "components_v2_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| components | Yes | Components array to render |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||