Disconnect a social account (DESTRUCTIVE)
disconnect_accountDisconnect a social account from Schedchie. Owner-only. WARNING: the OAuth connection is revoked (unless another connected account still uses the same login, e.g. the same Bluesky account in two workspaces) and the account is removed from its group; pending posts that target it are paused (pendingReconnect); they auto-restore only if the SAME account is reconnected within 24h, otherwise they fail. Reconnecting requires redoing OAuth in the web app. get_affected_post_count gives the pending posts at stake.
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": {
"platform": "<platform>",
"groupId": "<groupId>",
"accountId": "<accountId>"
},
"name": "disconnect_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | The group _id the account lives in (see list_accounts) | |
| platform | Yes | The account's platform | |
| accountId | Yes | The account's accountId | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. |