Social

Read a channel's rules

social_channel_rules · Reads only · Markdown

What a channel's network accepts: lengths, media counts, the settings a post needs, and its lookups.

Free*

*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.

An example

What does our Discord server need before you can post there?

Your agent callssocial_channel_rulesFree*

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": "clx0d6k2v0003"
}
What comes back
{
  "channel_id": "clx0d6k2v0003",
  "rules": "Bluesky can have maximum 1 video or 4 pictures in one post",
  "max_length": 300,
  "settings": {
    "type": "object",
    "required": [
      "channel"
    ],
    "properties": {
      "channel": {
        "type": "string",
        "description": "Channel must be an id"
      }
    }
  },
  "lookups": [
    {
      "method": "channels",
      "description": "Channels",
      "data": []
    }
  ]
}

Use it when

Before posting to a network for the first time, or when a post was refused.

What it does

What a channel's network accepts: its rules (media counts, lengths), max_length, the settings a post may or must carry (a JSON schema, e.g. Discord's channel, Medium's title) and its lookups (for social_channel_lookup). Free.

What comes back

The channel's rules (media counts, lengths), max_length, the settings a post may or must carry (as a JSON schema), and the lookups social_channel_lookup can run. 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_channel_rules on https://api.conecto.chat/mcp/social. Over REST:

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

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