landing_pages_code_variant_files_update
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save a revision-protected batch of text-file writes, unique exact-text replacements or deletions. For a first build, write the full index.html as one content string. Preserves binary assets, validates the complete static bundle and updates the draft only; does not publish.
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>",
"landingPageId": "<landingPageId>",
"variantId": "<variantId>",
"expectedRevision": "<expectedRevision>",
"operations": "<operations>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "landing_pages_code_variant_files_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| variantId | Yes | ||
| operations | Yes | ||
| landingPageId | Yes | ||
| idempotencyKey | Yes | Required unique request key for safe retries, for example client-action-2026-07-20-001. | |
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |