Get MIO Attachment
get-mio-attachment-linkFetch a MIO message attachment by message and attachment ID, returning a 15-minute browser link in HTTP mode or a saved local file path otherwise.
Instructions
Fetch a MIO message attachment. In HTTP mode with MCP_SERVER_URL set, returns a browser link that expires after 15 minutes; otherwise saves the file locally and returns its path. Get attachment IDs from read-mio-message.
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": {
"message_id": "<message_id>",
"attachment_id": "<attachment_id>"
},
"name": "get-mio-attachment-link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The MIO message ID | |
| attachment_id | Yes | The attachment ID (IDFichierAttachement from read-mio-message) |