Restructure site
patch_fixtureApply an RFC 6902 JSON Patch (array of add/remove/replace ops) to the latest fixture snapshot for a site, then save the result as a draft version. Use this when you need precise multi-field edits across the fixture (theme tokens + a couple of nodes + a header swap) without shipping the full fixture again. Paths are JSON Pointers (e.g. '/theme/config/colors/primary' or '/pages/0/tree/children/2'). Returns the preview URL. Call screenshot_page if you want to see the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| json_patch | Yes | RFC 6902 JSON Patch — array of {op, path, value?} operations. Supported ops: add, remove, replace. Paths are JSON Pointers (e.g. '/pages/0/tree/children/0/data/text'). Applied in order against the latest fixture snapshot. |