orders_pdf_download
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Download the existing account-owned Order PDF. API/MCP receive base64 PDF bytes; Control stores a private owned file reference and rechecks Order access on download.
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": {
"siteId": "<siteId>",
"orderId": "<orderId>"
},
"name": "orders_pdf_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| orderId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | API/MCP consumers decode contentBase64 to the named PDF. Control stores bytes privately and replaces them with an owned file reference before model context/history presentation. | |
| scope | Yes | ||
| command | Yes |