get_file_link
Obtain a public download link for any file, shareable with users outside Mattermost. The link may expire based on server settings.
Instructions
Get a public link to download a file.
Link can be shared with users who don't have Mattermost access. Link may expire based on server settings.
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_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | 26-character file identifier (e.g., 'o5w8h47pdfbzjc4d8w7dhnhren') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Public download URL |