Get File Info
get_file_infoRetrieve metadata for a file attached to a Mattermost post using its file ID without downloading the file content.
Instructions
Get metadata of a file attached to a post (see a post's file_ids).
The file content is not downloaded.
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": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||