mattermost_get_file_info
Retrieve metadata for a Mattermost file by ID, including name, extension, size, MIME type, image dimensions, and post ID. Use file IDs from channel history or thread replies.
Instructions
Get metadata of a file attached to a Mattermost post: name, extension, size, MIME type, image width and height, post ID. File IDs come from file_ids and files in channel history and thread replies.
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": "mattermost_get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The ID of the file (26 characters) |