Social

Disconnect a channel

social_disconnect · Deletes data · Markdown

Removes a channel; its waiting posts are deleted, and refunded when their time had not come.

Free

This tool costs nothing to call.

An example

We stopped using our Mastodon account. Disconnect it.

Your agent callssocial_disconnectFree

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
{
  "channel_id": "clx0d6k2v0004"
}
What comes back
{
  "disconnected": "clx0d6k2v0004"
}

Use it when

The business stops using a social account here.

What it does

Remove a channel from the business's social workspace. Its waiting posts are deleted with it: the ones whose time hadn't come are refunded, posts that went out stay on the network. Free.

What comes back

disconnected: the channel_id. Its waiting posts are deleted with it. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
channel_idRequiredstringA channel_id from social_channels. 1 to 64 characters, matches ^[A-Za-z0-9_-]+$.

The call

Over MCP, call social_disconnect on https://api.conecto.chat/mcp/social. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/social_disconnect \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channel_id":"clx0d6k2v0004"}'

When it refuses

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

CodeWhenWhat to do
not_found404No channel of the business has that channel_id.Call social_channels and use one of its channel_ids.
no_channels409The business has no connected channel yet.Connect one with social_connect.
not_switched_on503Social posting is not switched on yet.Try again later; nothing was charged.
social_unavailable503The posting service did not answer, or could not open the business's social workspace.Call again in a minute; when the message says so, tell Conecto's support.
refused400The posting service refused the request; the message gives its reason.Fix what the reason names, then call again.
refused422The posting service reported a conflict with what is there.Read the channel or post again, then call again.
rate_limited429The posting service's limit of posts an hour was reached.Try again later.

Give this to your agent.

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