slack_upload_snippet
Upload a text snippet or file to a Slack channel by providing the channel ID and content. Share code, notes, or documents instantly.
Instructions
Upload a text snippet or file to a channel.
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": {
"channel": "<channel>",
"content": "<content>"
},
"name": "slack_upload_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Channel ID. | |
| content | Yes | Snippet content. | |
| filename | No | File name. |