Download report
download_reportDownload a completed scan report as DOCX, XLSX, JSON, or SARIF to the GoMobSec download folder without overwriting existing files, and return the saved path.
Instructions
Download the full report of a completed scan — DOCX (pentest report), XLSX, JSON or SARIF (for code-scanning tools) — into the GoMobSec download folder (GOMOBSEC_DOWNLOAD_DIR, default ~/Downloads/gomobsec). Never overwrites an existing file. Returns the saved path.
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": {
"scan_id": "<scan_id>"
},
"name": "download_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | docx | |
| scan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |