test_microsoft_connection
Check what this tenant's Microsoft 365 connection can ACTUALLY do. Not just 'is there a token' — a token arrives even when the app has no permission at all. This makes one real Graph call per right (profile, mail folders, calendars) and puts the result next to what the access token itself says was granted. Where the two disagree is the interesting part: 'granted but the call fails' means licence, mailbox or a withdrawn consent, while 'missing' means the Microsoft tenant admin has to add it and the account must then be RECONNECTED — an added permission does not reach an existing consent. Mail.Send is reported from the token only: it cannot be probed without actually sending a mail.
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": "test_microsoft_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_account_id | No | Which connected Outlook account. Defaults to the tenant's only one. |