Connect account
connect_accountStart connecting one of the user's own social accounts to their SocialClaw workspace. For most providers this returns an authorizeUrl; give it to the user so they sign in with the provider themselves (SocialClaw never sees their password). Telegram and Discord have no sign-in page: Telegram takes the bot token and chat id of a bot the user created and made admin of their channel, and Discord takes a webhook URL the user created for their channel. Only pass values the user gave you for this purpose.
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": {
"provider": "<provider>"
},
"name": "connect_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Telegram chat target, e.g. @yourchannel (telegram only). | |
| botToken | No | Telegram only: token of the user's own bot, from @BotFather. | |
| provider | Yes | Provider to connect. | |
| webhookUrl | No | Discord only: webhook URL the user created in their channel settings. |