page

Call page.restore_checkpoint

Undo a change to the site the member is working on — 'undo that', 'put it back how it was', 'I liked it better before', 'take that last change back', 'go back to before the build broke'. Every applied edit leaves a checkpoint, so this is the undo for anything that changed the site's source. This is the member's own working copy. No site id is needed — it works on the site the member has open on screen. It restores the site's DRAFT source to a previous checkpoint and rebuilds — the undo for any change to the site's files (name the checkpoint before it in page.checkpoint's ledger). The live site is untouched; the preview follows the rebuild. The checkpoint left behind stays in the ledger, so a rollback can itself be rolled back. A checkpoint whose archive is gone is refused; relay that and offer another. Not for the live site visitors see — that is page.republish_revision.

Every result names the workspace it ran in. Say which workspace the answer is about. When the account has more than one workspace and none is selected, this tool refuses with workspace_ambiguous and lists the choices — offer them, never pick one.

post/api/v1/tools/page.restore_checkpoint

Request

  • Base URL: https://app.goosybear.ai
  • URL: https://app.goosybear.ai/api/v1/tools/page.restore_checkpoint
  • Auth: HTTP bearer

Headers

x-request-idstring

Your own id for this request, echoed back and recorded on the audit trail. 1–128 characters from A–Z a–z 0–9 . _ : -, starting with a letter or digit; anything else is replaced by a generated id.

Request body

site_idstring uuid

Optional site UUID. You are NOT shown the id of the site open on screen — it never appears in your context, so there is nothing to copy and nothing to look up. OMIT IT ENTIRELY and this call acts on that on-screen site; that is the PRIMARY path, not a fallback, and the turn's own surface resolves it server-side. Pass it only when the member explicitly named a DIFFERENT site and you took its id from page.list. Never pass a board, board-item, thread or any other id that merely happens to be nearby — those name different objects and will be refused.

source_refstring required

The checkpoint to go back to — a source_ref from page.checkpoint's ledger. This changes the DRAFT source and its preview only; the live site is untouched (page.republish_revision is the live one).

workspacestring

Which workspace to run in — its slug. Omit to use your default. With more than one reachable workspace and no default, the call is refused and the choices are listed.

Response

The call was admitted and dispatched. ok says whether the tool succeeded — a refusal the tool itself produced is still a 200, exactly as it is a successful JSON-RPC result over MCP.

OR

Changes

No recorded changes to this operation across all 4 revisions of this API.