get_unread_count
Get the unread email count in Outlook for all folders or a specific folder. Pass an optional folder ID to scope the count and avoid fetching full message lists.
Instructions
Get the count of unread emails, either across all folders or for a specific folder. Use this for a quick check without fetching full email lists. Returns an object with a single "count" field (number). Optionally pass folder_id to limit the count to a specific folder (get folder IDs from list_folders). Requires Outlook to be running.
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": "get_unread_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | Folder ID to get unread count for (e.g., from list_folders). If omitted, returns total unread count across all folders. |