Connect a social account
social_connectConnect one of the business's own accounts as a channel. For a link network (LinkedIn, Mastodon, Discord, Slack, Facebook, Instagram...) you get connect_url: hand it to the owner, who approves Conecto on the network and sees "Channel connected"; social.channel_connected tells you, and social_channels lists it (the link works for an hour; a key that only reads or drafts gets it as "[redacted]"). For a login network pass the login: Bluesky (username and an app password), WordPress (service, username, application password), Medium, Dev.to and Hashnode (api_key), Lemmy (username, password), Nostr (password: the private key); it connects at once and the login is never kept by Conecto. Without the password or api_key it answers with a link instead, where the owner types it on a Conecto page, so it never passes through the chat (from_a_terminal does the same from a terminal). service is a public https:// address. Telegram: call without code to get one; the owner adds Conecto's bot to the channel as an admin and posts "/connect " there; then call with code. Only channels (groups can't be), and a channel connected to another Conecto account stays theirs. Or with the business's own bot: Telegram with bot_token (from @BotFather) and chat (@channel or the chat's number), the bot an admin of the channel or a member of the group, and posts come from their bot; Discord or Slack with webhook_url (a channel webhook), and posts carry its name and picture. Without bot_token (Telegram, with chat) or webhook_url (Discord or Slack, with own_bot), the answer is a link for the owner to type it. Those are checked with the network at once, kept encrypted, and their channel_ids start with own_; account.credential_added says when a link's channel connected. Connecting again refreshes a channel that needs it. Free. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"network": "<network>"
},
"name": "social_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | Telegram, with bot_token: the channel (@name) or the chat's number. | |
| code | No | Telegram: the code social_connect gave, once the owner posted it. | |
| api_key | No | ||
| network | Yes | ||
| own_bot | No | Discord or Slack: through a channel webhook of the business's own, whose address the owner types on the link this answers with. | |
| service | No | The server or site address, for networks that have one. | |
| password | No | ||
| username | No | ||
| bot_token | No | Telegram: the business's own bot's token, from @BotFather. | |
| webhook_url | No | Discord or Slack: a channel's webhook address. |