action microsoft_get_mail_folder { label: "Get mail folder" description: "Fetch a mail folder by id or well-known name." provider: microsoft method: GET path: "/v1.0/me/mailFolders/{folder_id}" scopes: ["Mail.ReadWrite"] input: @json { { "type": "object", "required": ["folder_id"], "additionalProperties": false, "properties": { "folder_id": { "type": "string", "description": "Folder id or well-known name, e.g. inbox." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "displayName": { "type": "string" }, "totalItemCount": { "type": "integer" }, "unreadItemCount": { "type": "integer" }, "parentFolderId": { "type": "string" } } } } }