account-switch
Switch to a linked Outlook account without OAuth, or add a new account by starting the browser OAuth flow when no linked email is available.
Instructions
Use mcp-outlook account (smart mode). If email/alias provided and already linked, switches to it without triggering OAuth. If not linked or no email provided, triggers OAuth browser flow to add account. Returns account email, whether it was newly added, and total account count.
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": "account-switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Optional alias for easy identification | |
| No | Email address to link (if already linked, switches without OAuth) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |