List connected social accounts
postkey_list_social_accountsPostkey: Lists the active social accounts connected to this Postkey profile (Instagram, TikTok, YouTube, LinkedIn and the rest), all in one answer: id, platform, handle, name and needs_reconnect, plus how many are disconnected. A LinkedIn account also has post_as: who it can post as (itself, the company pages it manages), for linkedin_post_as. Use the ids as social_account_ids in postkey_create_post or postkey_update_post; an account that needs reconnecting cannot take posts. Connecting, reconnecting or removing an account is done by a person in Postkey.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "postkey_list_social_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| note | No | Which accounts can take posts; when none can, which profile and login this is and what the person can do. | |
| profile | No | The Postkey profile this call works in. | |
| disconnected | No | How many accounts are not active (each once; not ones active again here). | |
| signed_in_as | No | Only when nothing here can take posts: the Postkey login this connection was made with. An account connected under another login is not visible here. | |
| social_accounts | No | Active accounts: id, platform, handle, name, active, needs_reconnect; LinkedIn accounts also post_as (options: value and label, note). | |
| disconnected_accounts | No | Accounts that are not active, with why: platform, handle, reason (removed_idle, removed_plan_ended, removed_hold, needs_reconnect, disconnected), since, what_to_do. |