upload_file
Upload files to Slack channels by providing file content, filename, and target channels. Share documents and data directly within your Slack workspace for team collaboration and file distribution.
Instructions
Upload a file to Slack
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channels | Yes | Array of channel IDs to share the file to | |
| content | Yes | File content | |
| filename | Yes | Filename | |
| initial_comment | No | Initial comment | |
| title | No | File title |
Input Schema (JSON Schema)
{
"properties": {
"channels": {
"description": "Array of channel IDs to share the file to",
"items": {
"type": "string"
},
"type": "array"
},
"content": {
"description": "File content",
"type": "string"
},
"filename": {
"description": "Filename",
"type": "string"
},
"initial_comment": {
"description": "Initial comment",
"type": "string"
},
"title": {
"description": "File title",
"type": "string"
}
},
"required": [
"channels",
"content",
"filename"
],
"type": "object"
}