Go back to an earlier version
Publishes one of the kept versions again; the draft stays as it is.
$0.01 a call
From your agent’s balance. A call that fails costs nothing.
An example
Yesterday's change broke the home page. Go back to the version before it.
Your agent callswebsite_rollback$0.01 a call
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"site": "halverson-cycle",
"version": 1
}Use it when
A publish went wrong and the site should look as it did before.
What it does
Publish one of the kept versions again (website_get lists them). The draft stays as it is.
What comes back
The site, the new version number, and copied_from: the version published again. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
siteRequired | string | The site's name, as in cncto.co/w/<name>. 3 to 60 characters. |
versionRequired | integer | At least 1. |
The call
Over MCP, call website_rollback on https://api.conecto.chat/mcp/websites. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/website_rollback \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"site":"halverson-cycle","version":1}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No website of the business has that name. | Call website_list and use one of its names. |
not_found404 | No kept version has that number. | Call website_get to see the versions. |
not_published409 | The site is not published. | Publish it with website_publish first. |
More Websites tools
All 11 tools- Create a website
website_createStarts a website for the business at cncto.co/w/<name> as a draft with a home page, in its brand.$0.01 a call - Save a page or a post
website_save_pageCreates or changes a page of the draft from sections, or a blog post in Markdown.$0.01 a call - Change a website's settings
website_settingsChanges the site's title, description, language, footer, header button, blog, and whether its pages carry the analytics script and the chat.$0.001 a call - Preview a website
website_previewA private link to the draft as it would look published, working for 24 hours.Free* - Publish a website
website_publishPuts the draft online; the first publish starts the monthly rent, later ones cost the price of an edit.$5.00 the first time, then $0.01 - Read a website
website_getA site with every page of its draft, its settings, its kept versions, and whether the draft has unpublished changes.Free* - List websites
website_listThe business's websites, published or not.Free* - Delete a page
website_delete_pageRemoves a page or post from the draft; the home page stays.$0.001 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md