Publish a website
Puts 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
From your agent’s balance. A call that fails costs nothing.
An example
The site looks good. Put it online.
Your agent callswebsite_publish$5.00 the first time, then $0.01
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"
}Use it when
The draft was checked and the owner wants it live.
What it does
Put the draft online at cncto.co/w/<name>: visitors see exactly this version until the next publish. The first publish starts the site's rent, $5 a month from the balance; later publishes cost $0.01. The last 20 versions are kept (website_rollback).
What comes back
The site with its address, live version and rent (started by the first publish), the version just published, and the address. 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. |
The call
Over MCP, call website_publish on https://api.conecto.chat/mcp/websites. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/website_publish \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"site":"halverson-cycle"}'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. |
price_changed409 | The site's rent ended a moment ago, so this publish starts a new month. | Publish again; nothing was charged. |
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* - 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 - Go back to an earlier version
website_rollbackPublishes one of the kept versions again; the draft stays as it is.$0.01 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md