list_accounts
Inventory of the user's connected accounts and workspaces: Google (Gmail) accounts, Slack workspaces, and Facebook Messenger. Call this to find out WHICH accounts/workspaces are connected and WHAT each one can do — read/search (readable), send (sendable), and for Google accounts also Calendar (calendar), Drive metadata search (drive), Drive CONTENT reads (drive_content — read_file_content/download_file_content), Gmail label management (mail_labels), Gmail drafts (mail_drafts), and Contacts (contacts — search_contacts, list_contacts, list_other_contacts, list_contact_groups, get_contact_groups). Questions like "which Gmail/Google accounts are connected?" or "which Slack workspaces can I search or send from?" are answered by this tool — don't guess from search results. It is also the source of the labels accepted by the accounts/account parameters of search_messages / search_messages_raw / send_message and the calendar/drive/gmail/slack/contacts tools, so call it FIRST to learn valid labels and how many Gmail accounts exist before sending. A false capability means the connection predates that scope — 設定 → サービス連携 で再接続 grants it. Returns, per account: account (label), connector, connector_label, belongs_to (the classification label this account's work is filed under — derived automatically when the account is connected: the user's existing label for that company if there is one, otherwise a new label named after the Slack workspace or the mail domain — so a company's Slack and mail share one label; 'プライベート' for personal mail; null = unfiled), readable, sendable, and for Google accounts the capability booleans above; plus belongs_to_options: every label the user has, each with its accounts (a label may have none) — these names are the only values add_memory belongs_to accepts. If the result has attention, tell the user once, briefly and in their language, what it says and give attention.reconnect_url (e.g. Slack workspaces whose channel/thread history AI can't read until reconnected), then continue with their request; per account, needs_attention { kind, message, reconnect_url } marks which account. If this (or any AccountHub tool) fails with 'AccountHub is not responding', AccountHub itself is down: show that message (it names the support contact) and never suggest reconnecting accounts — that will not help. Chatwork accounts (connector "chatwork", readable/sendable) are listed too; use the Chatwork tools (list_chatwork_rooms, send_chatwork_message …) — send_message does not handle Chatwork.
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 | |||