Websites

Publish a website

website_publish · Changes data · Markdown

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.

With these arguments
{
  "site": "halverson-cycle"
}
What comes back
{
  "site": {
    "name": "halverson-cycle",
    "title": "Halverson Cycle & Repair",
    "description": "Bikes, repairs and fittings from our workshop in Portland.",
    "language": "en",
    "address": "https://cncto.co/w/halverson-cycle/",
    "published": true,
    "live_version": 1,
    "rent": {
      "rental_id": 4101,
      "kind": "website",
      "label": "Website: cncto.co/w/halverson-cycle",
      "status": "active",
      "monthly_usd": "$5.00",
      "renews_at": "2026-11-14T08:00:00+00:00",
      "grace_until": null
    },
    "settings": {},
    "updated_at": "2026-10-14T08:00:00+00:00"
  },
  "version": 1,
  "address": "https://cncto.co/w/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

NameTypeWhat it is
siteRequiredstringThe 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:

Terminal
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.

CodeWhenWhat to do
not_found404No website of the business has that name.Call website_list and use one of its names.
price_changed409The site's rent ended a moment ago, so this publish starts a new month.Publish again; nothing was charged.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md