download_assessment_pdf
Download assessment PDF report via REST API endpoint, with graceful error handling if rendering fails.
Instructions
Attempt to download NowSecure's own PDF via the REST report endpoint (/report/assessment/ref/{ref}.pdf). This is a different code path than the broken UI export and may succeed. Falls back gracefully with an error if NowSecure's renderer also fails.
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": {
"assessmentRef": "<assessmentRef>",
"outputPath": "<outputPath>"
},
"name": "download_assessment_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assessmentRef | Yes | Assessment ref (UUID). | |
| outputPath | Yes | Where to write the PDF. | |
| onlyRemediation | No | If true (default), filters to open/detected findings with remediation resources and hides screenshots. |