List connected platforms
list_platform_connectionsLists the platform connections (YouTube, Instagram, TikTok, X, etc.) attached to a workspace, with the connected username, health status, and capability flags. Use this before create_post_draft or publish_now to see which platforms the user can actually post to. Per connection you get: health ('healthy' | 'needs_reconnect' | 'rate_limited' | 'disconnected') as a one-shot state signal ('disconnected' means the user disconnected it and the app shows it as not connected; get_connect_link connects it again), can_publish (true when the token can accept new posts), can_sync_analytics (true only when the platform is supported by the analytics pipeline AND the connection is healthy; Telegram, Discord, WordPress, WhatsApp, Ghost, Blogger and Vimeo always return false because they have no analytics. X returns true but only syncs stats once X analytics is set up in the ShortSync app under Settings > Integrations, and Google Business Profile syncs profile-level stats only), and the raw isActive + connection_status fields for reference. Instagram connections also return music_via_facebook: true when the user also linked Facebook so Instagram posts can use Instagram's music library (not a separate platform). Google Business Profile connections also return locations (id, title, address, can_post, is_default): one Google login can manage several business locations, and these ids go in platform_settings.locationIds via update_post. When health is 'needs_reconnect', the user must sign in to the platform again (publishing or syncing will fail until then): those connections include a reconnect_url to share with the user. To connect a platform that isn't listed, call get_connect_link.
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": {
"workspace_id": "<workspace_id>"
},
"name": "list_platform_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace whose connections to list. Get one from list_workspaces. |