slack_get_file
Retrieve Slack file metadata and optionally base64 image content by file ID, so you can inspect files referenced in channel messages.
Instructions
Get file metadata and optionally image content from Slack. Use file_id from message.files[].id (e.g. from channel history). Requires files:read scope. Set include_image_content=true to get base64 image data.
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": "slack_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Slack file ID (from message.files[].id) | |
| include_image_content | No | If true and file is an image, include content_base64 and content_data_url |