Help center

Update the design

help_center_update_design · Changes data · Markdown

Changes the draft design: theme, whole pages, CSS, words or language; visitors see nothing until it is published.

$0.001 a call

From your agent’s balance. A call that fails costs nothing.

An example

Make the help center use our forest green as the accent colour, with Fraunces for the headings.

Your agent callshelp_center_update_design$0.001 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.

With these arguments
{
  "theme": {
    "colors": {
      "accent": "#1f4d3a"
    },
    "fonts": {
      "heading": "Fraunces"
    }
  }
}
What comes back
{
  "rev": 1,
  "warnings": [],
  "css_warnings": [],
  "dirty": true,
  "preview_url": "https://conecto.chat/help/halverson-cycle-repair/?preview=eyJ3IjoxfQ:1xHLr9:t9SGxoL56kn0HOKb7xYys9VKYy1yJkqWzo6EZQY4L8g"
}

Use it when

The help center's look changes: colours, fonts, page layouts, CSS or wording.

What it does

Change the DRAFT design: theme fields (groups merge field by field), whole pages (each page’s full ordered list of sections), your CSS (replaces the previous stylesheet), the help center’s words, or its language. Invalid values are left as they were and named in `warnings`. Nothing is live until help_center_publish.

What comes back

rev: the new draft revision, warnings for values left as they were, css_warnings, dirty and a preview link. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
themeobjecte.g. {"colors": {"accent": "#ff5500"}, "fonts": {"heading": "Fraunces"}}.
pagesobjectPage -> full list of sections ({id?, type, props, style}). Keep a section’s id to keep it. For one change, help_center_edit_sections is simpler.
pages.homearray of objects
pages.collectionarray of objects
pages.articlearray of objects
pages.searcharray of objects
cssstringUp to 100,000 characters.
labelsobject
languagestringOne of: en,pt,es,fr,de,it,nl,sv,no,da,uk,ru,zh.
revintegerThe draft revision you last read (from any tool that returns `rev`). If the draft changed since, nothing is saved and you get the current revision to re-read.

The call

Over MCP, call help_center_update_design on https://api.conecto.chat/mcp/helpcenter. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/help_center_update_design \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"theme":{"colors":{"accent":"#1f4d3a"},"fonts":{"heading":"Fraunces"}}}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
tool_error422The draft changed since the rev you sent, or nothing to change was given.Read the design again with help_center_get_design, then redo the change with its rev.

Give this to your agent.

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