List connected accounts
accounts_listLists the email and calendar accounts you can reach, with each one's account_id, provider, address, profile, status and capabilities. Use it first when a write needs account_id, or to see which accounts can do something (filter by capability). Example: { "capability": "mail.send" }.
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": "accounts_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page, 1–100 (default 20). | |
| cursor | No | The `next_cursor` from the previous page. Omit for the first page. | |
| status | No | Only accounts in this state. | |
| provider | No | Only this provider (iCloud, Yahoo and others are "imap"). | |
| capability | No | Only accounts that can do this, e.g. "mail.send". "calendar.free_busy" is the account's own availability; "calendar.attendee_free_busy" is looking up other people's. | |
| profile_id | No | Only accounts in this profile (`prf_…` from profiles_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| next_cursor | No | Pass as `cursor` for the next page; absent on the last page. |