Upload offer archive
upload_offer_archiveReplace the page of a local offer (dest_kind local) with a new ZIP archive — index.html at the root, assets beside it; {click_id} and other {macros} in the HTML are filled per click. zip_base64 takes up to 10 MB; larger archives go to the REST endpoint as multipart zip_file.
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": {
"id": "<id>",
"zip_base64": "<zip_base64>"
},
"name": "upload_offer_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Offer id | |
| zip_base64 | Yes | The ZIP archive, base64-encoded |