You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate ONLY a valid JSON array of Block Kit blocks based on the user's request.
255
+
The output MUST be a JSON array starting with [ and ending with ].
256
+
257
+
Current blocks: {context}
258
+
259
+
Available block types for messages:
260
+
- "section": Displays text with an optional accessory element. Text uses { "type": "mrkdwn", "text": "..." } or { "type": "plain_text", "text": "..." }.
261
+
- "header": Large text header. Text must be plain_text.
262
+
- "divider": A horizontal rule separator. No fields needed besides type.
263
+
- "image": Displays an image. Requires "image_url" and "alt_text".
264
+
- "context": Contextual info with an "elements" array of image and text objects.
265
+
- "actions": Interactive elements like buttons. Each button needs "type": "button", a "text" object, and an "action_id".
266
+
- "rich_text": Structured rich text with "elements" array of rich_text_section objects.
0 commit comments