files_upload
Upload files to Slack channels, supporting binary uploads and text snippets with optional comments and thread replies.
Instructions
Upload a file (legacy).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "files_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title of the file shown in Slack. | |
| content | No | File contents as a string; using this creates an editable text/snippet file instead of a binary upload. | |
| channels | No | Comma-separated list of channel IDs to share the file into (e.g. ``C0123,C0456``). | |
| filename | No | Name of the file (e.g. ``report.pdf``). | |
| filetype | No | File type identifier (e.g. ``python``, ``pdf``). | |
| thread_ts | No | Timestamp of the parent message to share the file into as a thread reply (e.g. ``1700000000.00``). | |
| initial_comment | No | Message text to post alongside the file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||