list_folders
List Outlook mail folders with their IDs, unread/total counts, and subfolder counts. Use it to find a folder ID for listing or moving messages, creating folders, or building rules.
Instructions
List mail folders with their ids, unread/total counts and subfolder counts. Top-level folders by default; pass parent (a folder id or well-known name) to list the folders inside it. Use it to find a folder id for list_messages, move_messages, create_folder or create_rule. For sizing a cleanup, mailbox_overview gives the top-level counts ranked by size.
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 |
|---|---|---|---|
| parent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |