Edit page sections
Adds, changes, moves, copies or removes sections on one page of the draft.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Add a short FAQ to the help center home page: repair times, and whether we ship bikes out of state.
Your agent callshelp_center_edit_sections$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.
{
"page": "home",
"ops": [
{
"op": "add",
"type": "faq",
"props": {
"title": "Before you bring your bike in",
"items": [
{
"q": "How long does a repair take?",
"a": "A tune-up takes 2 to 3 working days, a repair that needs parts 5 to 7."
},
{
"q": "Do you ship bikes out of state?",
"a": "Yes, built and tuned, free on orders over $1,000."
}
]
}
}
]
}Use it when
One part of a page changes: a new FAQ, a banner, a section moved up.
What it does
Add, update, move, duplicate or remove sections on one page of the DRAFT, in order. add: {op:"add", type, props?, style?, at?}; update: {op:"update", id, props?, style?} (merged into what is there); move: {op:"move", id, to}; duplicate / remove: {op, id}. Returns the id of anything added and the page’s new order.
What comes back
rev, warnings, dirty and a preview link, the result of each change (with the id of anything added), and the page's sections in their new order. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
pageRequired | string | One of: home,collection,article,search. |
opsRequired | array of objects | 1 to 30 items. |
ops[].opRequired | string | One of: add,update,move,duplicate,remove. |
ops[].type | string | |
ops[].id | string | |
ops[].props | object | |
ops[].style | object | |
ops[].at | integer | |
ops[].to | integer | |
rev | integer | The 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_edit_sections on https://api.conecto.chat/mcp/helpcenter. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/help_center_edit_sections \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"page":"home","ops":[{"op":"add","type":"faq","props":{"title":"Before you bring your bike in","items":[{"q":"How long does a repair take?","a":"A tune-up takes 2 to 3 working days, a repair that needs parts 5 to 7."},{"q":"Do you ship bikes out of state?","a":"Yes, built and tuned, free on orders over $1,000."}]}}]}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
tool_error422 | The 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. |
More Help center tools
All 20 tools- Help center overview
help_center_overviewWhere the help center lives and what is in it: its address, whether it is public, unpublished changes, collections and recent articles.Free* - Design guide
help_center_design_guideThe whole design language as data: theme fields, section types, templates, fonts, icons, languages, CSS rules and article blocks.Free* - Get the design
help_center_get_designThe full design document, the draft or the published one, with the draft revision.Free* - Update the design
help_center_update_designChanges the draft design: theme, whole pages, CSS, words or language; visitors see nothing until it is published.$0.001 a call - Apply a template
help_center_apply_templateStarts the draft design over from a built-in template; the brand, language, words and CSS carry over.$0.001 a call - Preview the draft
help_center_previewA private link to any page of the draft, and the page's HTML if you ask for it.Free* - Publish the design
help_center_publishMakes the draft design what visitors see; the previous design is kept as a version.$0.01 a call - Make the help center public
help_center_set_publicOpens the published help center to everyone, or closes it again.$5.00 a month while public
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md