files_get_upload_url_external
Obtain an upload URL to share external files in Slack, specifying filename and file size for accessibility.
Instructions
Get an upload URL for an external file.
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": {
"filename": "<filename>",
"length": "<length>"
},
"name": "files_get_upload_url_external"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | Yes | Size of the file in bytes. | |
| alt_txt | No | Description of the image for screen-reader accessibility. | |
| filename | Yes | Name of the file being uploaded (e.g. ``report.pdf``). | |
| snippet_type | No | Syntax type of a snippet being uploaded (e.g. ``python``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||