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 and Discord always return false because they have no analytics. X returns true but only syncs stats once the workspace has added its own X API key in 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 linked Facebook to unlock 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace whose connections to list. Get one from list_workspaces. |