read_slack_file
Read a file posted in Slack by its file id (e.g. 'F0ABC12345') or its Slack permalink. Text files and JSON come back as text; everything else as base64 in base64 with its mimetype. Hard-capped at 5MB — a larger file errors rather than returning something truncated. Slack files only — for Google Drive use read_file_content, for an email attachment download_attachment. Pass the workspace the file was posted in as account; without it every connected workspace is checked. Needs files:read (reconnect hint on a workspace connected before 2026-08-28).
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_id": "<file_id>"
},
"name": "read_slack_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Workspace label (see list_accounts) the file was posted in. Recommended when several workspaces are connected; omitted, each workspace is checked for the file. | |
| file_id | Yes | Slack file id (e.g. 'F0ABC12345') from a message's files[].id or list_slack_files. The file's Slack permalink or download URL is also accepted whole. |