List connected social accounts
list_accountsUse when the user asks which social media accounts are connected to A1 Lane for posting, which account to post to, whether one needs reconnecting, or how to connect a new one. Returns each account with its platform, handle, account id (acc_…), health (ok, credential_invalid, action_required_in_app, unknown) and posting-slot schedule, plus the Connect page address and the platforms a new account can connect today. An assistant cannot connect an account itself: give the user the Connect page address, wait until they say they have finished, then call list_accounts again to confirm the new account and its health. For platform rules use get_platform_schema; for plan limits, get_workspace. Do not use it for followers, audiences, comments, messages or profile analytics: A1 Lane holds none.
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_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accounts | Yes | ||
| next_step | No | Present only when no account is connected: the one next step, with the web connect URL. | |
| connectUrl | No | The workspace's web Connect page: the address to hand the user to connect an account. | |
| humanAction | No | A person must act in a browser: give the user url and the action sentence, then stop; when they say it is done, call resumeTool (a tool name) and trust only its answer. | |
| accountState | No | ||
| connectableNow | No | Platform ids a new account can connect on this service today. |