microsoft_auth
Authenticate Microsoft work or personal accounts by returning a consent URL for immediate browser approval; token saves in background, verify with microsoft_status.
Instructions
Authenticate a Microsoft account (M365 work/school or personal e.g. Hotmail). Returns the consent URL IMMEDIATELY (does not block): give it to the user, they approve in the browser as the right Microsoft account, and the token saves in the background. Confirm afterwards with microsoft_status. A browser tab also opens automatically as a convenience, but the URL in the response is authoritative if it opens with the wrong profile.
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": "microsoft_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_name | No | Friendly name for this account (e.g. 'consulting', 'personal') | primary |