Build the complete Block Kit layout for an agent response.
Layout:
[Agent Context Header] — agent avatar + name[Divider][Text Content Blocks] — markdown → mrkdwn sections[Artifact Card] — if structured payload detected[Media Blocks] — if mediaOutputs present[Notification Blocks] — if automatic notification commands present[Divider][Action Buttons] — if actionableCommands present[Metadata Footer] — timing and token info Copy
[Agent Context Header] — agent avatar + name[Divider][Text Content Blocks] — markdown → mrkdwn sections[Artifact Card] — if structured payload detected[Media Blocks] — if mediaOutputs present[Notification Blocks] — if automatic notification commands present[Divider][Action Buttons] — if actionableCommands present[Metadata Footer] — timing and token info
Enforces Slack's 50-block limit. If exceeded, truncates text blocks and adds a truncation notice.
Optional
Build the complete Block Kit layout for an agent response.
Layout:
Enforces Slack's 50-block limit. If exceeded, truncates text blocks and adds a truncation notice.