跳到正文
所有工具

m365_list_email_folders

Microsoft 365 · macOS · Windows

效果: 读取. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

当用户想按 Exchange 服务器上的原样查看其 Microsoft 365 / Outlook 账户的邮件文件夹时使用:每个文件夹和子文件夹,附带其 id、名称、路径(Parent/Child)、parent_id、总数和未读数。文件夹的 id、名称或路径可传给 m365_list_emails 和 m365_search_emails(folder)、m365_create_email_folder(parent)以及 m365_move_email(destination)。对于 Mac 邮件应用中的账户的文件夹,请使用 list_email_folders。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — macOS
{
  "properties": {
    "account": {
      "description": "Which connected Microsoft 365 account to use: its email (UPN), its id from list_m365_accounts, or its display name when unique. Leave it out to use the default account.",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

m365_list_email_folders 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{}

Windows

用途

当用户想按 Exchange 服务器上的原样查看其 Microsoft 365 / Outlook 账户的邮件文件夹时使用:每个文件夹和子文件夹,附带其 id、名称、路径(Parent/Child)、parent_id、总数和未读数。文件夹的 id、名称或路径可传给 m365_list_emails 和 m365_search_emails(folder)、m365_create_email_folder(parent)以及 m365_move_email(destination)。对于这台电脑上经典 Outlook 应用中的邮件,请使用 outlook_list_emails。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — Windows
{
  "properties": {
    "account": {
      "description": "Which connected Microsoft 365 account to use: its email (UPN), its id from list_m365_accounts, or its display name when unique. Leave it out to use the default account.",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

m365_list_email_folders 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{}