payware_data_download_export
Download a ready Payware export by export ID, previewing text formats or saving CSV, HTML, XML, PDF, XLS(X), DOCX, ODT, ODS, or RTF files to the temp downloads folder with saveToFile.
Instructions
[Merchant] Download a READY export file (production only). A text export (CSV, HTML, XML) is previewed; with saveToFile the file is written to payware-mcp-downloads in the system temp directory and the result names its path. A binary export (PDF, XLS(X), DOCX, ODT, ODS, RTF) needs saveToFile.
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": {
"exportId": "<exportId>"
},
"name": "payware_data_download_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exportId | Yes | The export ID from the export request (UUID format) | |
| partnerId | No | Partner ID from payware dashboard. Uses PAYWARE_PARTNER_ID env var as default. | partner_12345 |
| privateKey | No | RSA private key for authentication. Uses the production private key as default (reports run on production only). | |
| saveToFile | No | Save the file to payware-mcp-downloads in the system temp directory and return its path. Without it a text export is previewed and a binary one only described. |