merge_fork
Merge content from a fork workspace into live pages, updating existing pages and creating new ones while detecting conflicts.
Instructions
Merge all pages in a fork workspace into live content. Requires admin role.
For each page in the fork:
If a matching live page exists (same URL): updates it with the fork content (fork wins). If the live page was edited after the fork was created, records a conflict but still merges.
If no live page exists at that URL: creates a new live page.
After merging, the fork status changes to "merged". Published live pages are regenerated immediately.
Returns: updated count, created count, any conflicts detected.
ALWAYS confirm with the user before merging, as this pushes changes to the live site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fork_id | Yes | Fork workspace ID to merge into live,required |