upload_file
Upload files directly to specified Slack channels. Provide file content, name, title, and an optional initial comment to share documents or updates efficiently.
Instructions
Upload a file to one or more Slack channels.
Args: channels: Comma-separated list of channel IDs content: File content as text filename: Name for the file title: Title of the file initial_comment: Initial comment for the file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channels | Yes | ||
content | Yes | ||
filename | Yes | ||
initial_comment | No | ||
title | No |
Input Schema (JSON Schema)
{
"properties": {
"channels": {
"title": "Channels",
"type": "string"
},
"content": {
"title": "Content",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"initial_comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Initial Comment"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
}
},
"required": [
"channels",
"content",
"filename"
],
"type": "object"
}