list_folders
List immediate child folders of an Outlook store or parent folder. Paginate results with a cursor; does not recurse into subfolders.
Instructions
List immediate child folders. Start at the store root unless parent_folder_id is given. Does not recurse. limit defaults to 20, maximum 100. Follow next_cursor with the same arguments; limit may change. Cursors are single-use and expire 10 minutes after creation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"store_id": "<store_id>"
},
"name": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| store_id | Yes | ||
| parent_folder_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| omitted | No | ||
| coverage | Yes | ||
| store_id | Yes | ||
| warnings | No | ||
| folder_id | Yes | ||
| next_cursor | Yes |