manage_slack_files
Delete files (files.delete) or issue a public share link for them (files.sharedPublicURL) — up to 20 at once. Only the original uploader can do either; a failure on one file never aborts the rest, so check each item's ok. Deleting is irreversible and a public link makes the file reachable by anyone with the URL — confirm with the user before calling.
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": {
"action": "<action>",
"file_ids": "<file_ids>"
},
"name": "manage_slack_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 'delete' removes the file; 'share_public_url' issues a public link (files.sharedPublicURL) — only the original uploader can do either. | |
| account | No | Workspace label. Required when several workspaces are connected. | |
| file_ids | Yes | Slack file ids to act on (max 20 per call). |