List signed-in accounts
list_accountsList configured Google accounts for calendar access and highlight the default account.
Instructions
List the Google accounts calendar-mcp can use, and which is the default.
Every other tool takes an optional account argument naming one of these.
An account whose valid is false needs calendar-mcp auth --account <name>
run once in a terminal before its calendars can be read.
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 |
|---|---|---|---|
| count | Yes | Number of known accounts. | |
| accounts | No | Known accounts, the default one first. | |
| config_dir | Yes | Directory holding the account tokens and preferences. | |
| default_account | Yes | Account used when 'account' is omitted. |