Download Log File
fortimail.logs.downloadDownload a FortiMail log file by its mkey to retrieve log contents as UTF-8 text for analysis or troubleshooting.
Instructions
Purpose: POST /v1/logs/download. Response bytes are interpreted as UTF-8 text (use compressed: false for plain text in MCP).
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": {
"log_file": "<log_file>"
},
"name": "fortimail.logs.download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_file | Yes | Log file mkey from list | |
| compressed | No | If true, request compressed payload from engine (when supported) |