list_folders
Retrieve Outlook mail folders with IDs, paths, unread/total counts, and special-folder roles; filter by account and refresh cached results.
Instructions
List mail folders: id, account, path like "Inbox/Projects", unread/total counts, and role (inbox, sent, drafts, deleted, junk, outbox) for the account's special folders.
Args:
account: Only accounts whose email or name contains this text.
refresh: Re-read from Outlook instead of the 60-second cache.
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": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |