Slack Types
SlackMessageContext
The main context object passed to tools and handlers. Contains the Slack client, event data, and bot metadata.Slack Web API client instance for making API calls
The Slack message event that triggered this interaction
The bot’s user ID in the workspace
The Slack team/workspace ID
SlackMessageEvent
Represents a Slack message event with all relevant metadata.Channel ID where the message was sent
Message timestamp (unique identifier)
Event timestamp
Message text content
User ID who sent the message
Thread timestamp if message is in a thread
Array of uploaded files attached to the message
Bot ID if message was sent by a bot
Message subtype (e.g., ‘bot_message’, ‘file_share’)
Type of channel (‘channel’, ‘im’, ‘group’)
SlackApp
The Slack app configuration object.Slack Bolt App instance
Whether the app is running in Socket Mode
Express receiver for HTTP mode (undefined in Socket Mode)
Database Types
SandboxSession
Represents a persistent sandbox session tied to a Slack thread.Slack thread ID (primary key)
E2B sandbox instance ID
Session identifier
Current status: ‘creating’, ‘active’, ‘paused’, ‘destroyed’
Timestamp when sandbox was paused
Timestamp when sandbox was resumed
Timestamp when sandbox was destroyed
Creation timestamp
Last update timestamp
ScheduledTask
Represents a recurring cron-scheduled task.Task ID (primary key)
User ID who created the task
Destination type: ‘channel’ or ‘dm’
Channel or user ID where results are sent
Thread timestamp if task posts to a thread
Task prompt/instructions
Cron expression for scheduling
IANA timezone for cron scheduling
Whether task is enabled (default: true)
Next scheduled run time
Timestamp when task started running (null if not running)
Timestamp of last execution
Status of last execution: ‘success’ or ‘error’
Error message from last execution if failed
AI Tool Types
Tool Input Types
Types for creating and updating streaming task updates.Sandbox Tool Types
Types for sandbox tool execution tracking.Stream Types
Stream
Manages streaming updates to Slack messages.Slack Web API client
Channel ID where message is being streamed
Message timestamp being updated
Map of task IDs to their current state
Whether thinking/processing indicator is shown
If true, stream operations are no-ops (for testing)