List connected social accounts
list_connected_accounts[read-only] The social accounts a brand can post to — the same set publish would use for that brandId: platform, handle, display name, health (healthy, needs_reauth, disconnected) and whether flayr can post there right now (postable; Reddit is paused because Reddit closed its API to third-party apps). Call this before publish to pick platforms, and tell the user to reconnect any account that is not healthy at flayr.social/connect.
(Wraps GET /api/v2/accounts.)
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": "list_connected_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandId | No | An id from GET /api/v2/brands, or "personal". Omitted → the key's bound brand, else the owner's personal accounts. |