files_upload
Uploads a file from the server filesystem to a Slack channel, with optional display filename override and initial comment.
Instructions
Uploads a file from the server filesystem to a Slack channel. Optionally overrides the display filename and adds an initial comment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"channel_id": "<channel_id>"
},
"name": "files_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| file_path | Yes | ||
| channel_id | Yes | ||
| initial_comment | No |