Websites

Delete a page

website_delete_page · Deletes data · Markdown

Removes a page or post from the draft; the home page stays.

$0.001 a call

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

An example

Take the summer sale page off the website.

Your agent callswebsite_delete_page$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
{
  "site": "halverson-cycle",
  "path": "summer-sale"
}
What comes back
{
  "deleted": "summer-sale"
}

Use it when

A page is out of date. The live site keeps it until the next publish.

What it does

Remove a page or post from the draft (the published site keeps it until the next publish). The home page stays.

What comes back

deleted: the path. 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.
pathRequiredstringUp to 120 characters.

The call

Over MCP, call website_delete_page on https://api.conecto.chat/mcp/websites. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/website_delete_page \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"site":"halverson-cycle","path":"summer-sale"}'

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.
not_found404The draft has no page at that path.Call website_get to see the paths.
conflict409The path is the home page, which stays.Change the home page instead.

Give this to your agent.

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