Social

Look something up on a channel

social_channel_lookup · Reads only · Markdown

Runs one of a channel's lookups, like the channels of a Discord server or the boards on Pinterest.

Free*

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

An example

Which channels on our Discord server can you post in?

Your agent callssocial_channel_lookupFree*

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",
  "method": "channels"
}
What comes back
{
  "channel_id": "clx0d6k2v0003",
  "method": "channels",
  "result": [
    {
      "id": "1111",
      "name": "general"
    },
    {
      "id": "2222",
      "name": "news"
    }
  ]
}

Use it when

A post needs a setting only the network knows, such as a Discord channel id.

What it does

Run one of a channel's lookups (social_channel_rules lists them), e.g. "channels" on Discord and Slack for the channel ids posts need, "boards" on Pinterest, "publications" on Medium. Free.

What comes back

The channel_id, the method, and result: what the network answered, like the channels with their ids and names. 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_-]+$.
methodRequiredstringMatches ^[A-Za-z][A-Za-z0-9_]{0,63}$.
dataobject

The call

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

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

When it refuses

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

CodeWhenWhat to do
not_found404The channel has no lookup by that name, or the channel is unknown.Call social_channel_rules and use one of its lookups.
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