Summary
Add an uploadFile action to the Slack tool to enable agents to upload files (images, documents, etc.) to Slack channels and DMs.
Use Case
When working with visual assets (app screenshots, diagrams, generated images), the agent currently cannot share these directly via Slack. Users have to manually download and re-upload files, breaking the workflow.
Proposed Implementation
Add a new action using Slack's files.uploadV2 API:
{
"action": "uploadFile",
"channelId": "C123",
"filePath": "/path/to/file.png",
"filename": "screenshot.png",
"title": "App Screenshot",
"initialComment": "Here's the latest screenshot"
}
Requirements
- Bot token needs
files:write scope
- Support for common file types (images, PDFs, text files)
- Optional: support for uploading multiple files in one action
Related
Current Slack skill supports: reactions, pins, send/edit/delete messages, member info, emoji list — but no file operations.
Summary
Add an
uploadFileaction to the Slack tool to enable agents to upload files (images, documents, etc.) to Slack channels and DMs.Use Case
When working with visual assets (app screenshots, diagrams, generated images), the agent currently cannot share these directly via Slack. Users have to manually download and re-upload files, breaking the workflow.
Proposed Implementation
Add a new action using Slack's
files.uploadV2API:{ "action": "uploadFile", "channelId": "C123", "filePath": "/path/to/file.png", "filename": "screenshot.png", "title": "App Screenshot", "initialComment": "Here's the latest screenshot" }Requirements
files:writescopeRelated
Current Slack skill supports: reactions, pins, send/edit/delete messages, member info, emoji list — but no file operations.