Sign in to Outlook
mail_loginSigns the user in to their personal Outlook mailbox when access is missing or expired, opening Microsoft sign-in in the browser with read and organize permissions only, never send email.
Instructions
Sign the user in to their personal Outlook mailbox. Call it when any other tool answers "Not signed in" or that the sign-in has expired. It opens a Microsoft sign-in page in the user's browser and waits for them to finish. If the result is "pending", ask the user to complete the sign-in in their browser, then call mail_login again. It asks for access to read and organize mail only: it never asks for permission to send email. Safe to call when already signed in.
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": "mail_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| detail | Yes | ||
| status | Yes | ||
| account | No |