{
  "service": "outlook",
  "displayName": "Outlook",
  "categories": [
    "Communication",
    "Productivity"
  ],
  "authTypes": [
    "oauth2"
  ],
  "auth": [
    {
      "type": "oauth2",
      "authorizationUrl": "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize",
      "tokenUrl": "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token",
      "scopes": [
        "User.Read",
        "Mail.ReadWrite",
        "Mail.Send",
        "MailboxSettings.ReadWrite",
        "offline_access"
      ],
      "tokenEndpointAuthMethod": "client_secret_post",
      "pkce": {
        "method": "S256"
      },
      "authorizationParams": {
        "response_mode": "query"
      },
      "clientConfigFields": [
        {
          "key": "tenant",
          "label": "Tenant",
          "inputType": "text",
          "required": true,
          "secret": false,
          "defaultValue": "common",
          "placeholder": "common",
          "description": "The Microsoft identity platform tenant segment to use, such as common, organizations, consumers, or a specific tenant ID."
        }
      ]
    }
  ],
  "homepageUrl": "https://www.microsoft.com/microsoft-365/outlook/email-and-calendar-software-microsoft-outlook",
  "actions": [
    {
      "id": "outlook.create_draft",
      "service": "outlook",
      "name": "create_draft",
      "description": "Create a new Outlook draft message with subject, body, recipients, and other writable message properties.",
      "requiredScopes": [
        "Mail.ReadWrite"
      ],
      "providerPermissions": [
        "Mail.ReadWrite"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "subject": {
            "type": "string",
            "description": "Subject line for the message."
          },
          "body": {
            "type": "string",
            "description": "Body content for the message."
          },
          "isHtml": {
            "type": "boolean",
            "description": "Whether the message body is already HTML content."
          },
          "toRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Primary recipients for the message."
          },
          "ccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Cc recipients for the message."
          },
          "bccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Bcc recipients for the message."
          },
          "replyTo": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Reply-to recipients for the message."
          },
          "importance": {
            "type": "string",
            "enum": [
              "low",
              "normal",
              "high"
            ],
            "description": "Message importance."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Categories for the message.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "subject",
          "body"
        ],
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Message ID."
          },
          "subject": {
            "type": "string",
            "description": "Message subject."
          },
          "bodyPreview": {
            "type": "string",
            "description": "Preview snippet of the message body."
          },
          "importance": {
            "type": "string",
            "description": "Message importance."
          },
          "isRead": {
            "type": "boolean",
            "description": "Whether the message is marked as read."
          },
          "isDraft": {
            "type": "boolean",
            "description": "Whether the message is a draft."
          },
          "webLink": {
            "type": "string",
            "description": "Web URL for the message in Outlook."
          },
          "body": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "sender": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "from": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "toRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Primary recipients."
          },
          "ccRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Cc recipients."
          },
          "bccRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Bcc recipients."
          },
          "replyTo": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Reply-to recipients."
          },
          "flag": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          }
        },
        "additionalProperties": true,
        "description": "Outlook message resource."
      }
    },
    {
      "id": "outlook.get_mailbox_settings",
      "service": "outlook",
      "name": "get_mailbox_settings",
      "description": "Get the current Outlook mailbox settings, including automatic replies, locale, time zone, and working hours.",
      "requiredScopes": [
        "MailboxSettings.ReadWrite"
      ],
      "providerPermissions": [
        "MailboxSettings.ReadWrite"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "automaticRepliesSetting": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "timeZone": {
            "type": "string",
            "description": "Preferred mailbox time zone."
          },
          "language": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "workingHours": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "userPurpose": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "dateFormat": {
            "type": "string",
            "description": "Preferred date format."
          },
          "timeFormat": {
            "type": "string",
            "description": "Preferred time format."
          },
          "delegateMeetingMessageDeliveryOptions": {
            "type": "string",
            "description": "Delegate meeting-message delivery behavior."
          }
        },
        "additionalProperties": true,
        "description": "Mailbox settings for the current Outlook account."
      }
    },
    {
      "id": "outlook.get_message",
      "service": "outlook",
      "name": "get_message",
      "description": "Get a single Outlook message by message ID, including message metadata and optional body formatting.",
      "requiredScopes": [
        "User.Read",
        "Mail.ReadWrite"
      ],
      "providerPermissions": [
        "Mail.ReadWrite"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": "string",
            "minLength": 1,
            "description": "Outlook message ID."
          },
          "select": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Message fields to request from Microsoft Graph.",
            "minItems": 1
          },
          "bodyContentType": {
            "type": "string",
            "enum": [
              "text",
              "html"
            ],
            "description": "Preferred Outlook body content type for the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "messageId"
        ],
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Message ID."
          },
          "subject": {
            "type": "string",
            "description": "Message subject."
          },
          "bodyPreview": {
            "type": "string",
            "description": "Preview snippet of the message body."
          },
          "importance": {
            "type": "string",
            "description": "Message importance."
          },
          "isRead": {
            "type": "boolean",
            "description": "Whether the message is marked as read."
          },
          "isDraft": {
            "type": "boolean",
            "description": "Whether the message is a draft."
          },
          "webLink": {
            "type": "string",
            "description": "Web URL for the message in Outlook."
          },
          "body": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "sender": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "from": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "toRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Primary recipients."
          },
          "ccRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Cc recipients."
          },
          "bccRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Bcc recipients."
          },
          "replyTo": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Reply-to recipients."
          },
          "flag": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          }
        },
        "additionalProperties": true,
        "description": "Outlook message resource."
      }
    },
    {
      "id": "outlook.get_profile",
      "service": "outlook",
      "name": "get_profile",
      "description": "Get the current Outlook account profile from Microsoft Graph so you can identify the connected mailbox.",
      "requiredScopes": [
        "User.Read",
        "Mail.ReadWrite"
      ],
      "providerPermissions": [
        "User.Read"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Unique identifier for the current account."
          },
          "displayName": {
            "type": "string",
            "description": "Display name of the current account."
          },
          "mail": {
            "anyOf": [
              {
                "type": "string",
                "description": "Primary SMTP address for the current account."
              },
              {
                "type": "null"
              }
            ]
          },
          "userPrincipalName": {
            "type": "string",
            "description": "User principal name for the current account."
          }
        },
        "additionalProperties": true,
        "description": "Current Outlook account profile."
      }
    },
    {
      "id": "outlook.list_mail_folders",
      "service": "outlook",
      "name": "list_mail_folders",
      "description": "List the root-level Outlook mail folders for the connected mailbox, with optional hidden folders and field selection.",
      "requiredScopes": [
        "User.Read",
        "Mail.ReadWrite"
      ],
      "providerPermissions": [
        "Mail.ReadWrite"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "nextLink": {
            "type": "string",
            "description": "Opaque pagination URL returned by a previous Outlook response.",
            "format": "uri"
          },
          "includeHiddenFolders": {
            "type": "boolean",
            "description": "Whether to include hidden mail folders."
          },
          "top": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "Maximum number of mail folders to return."
          },
          "select": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Mail folder fields to request from Microsoft Graph.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "mailFolders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Mail folder ID."
                },
                "displayName": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Display name for the mail folder."
                },
                "parentFolderId": {
                  "type": "string",
                  "description": "Parent mail folder ID."
                },
                "childFolderCount": {
                  "type": "integer",
                  "description": "Number of child folders."
                },
                "unreadItemCount": {
                  "type": "integer",
                  "description": "Unread item count."
                },
                "totalItemCount": {
                  "type": "integer",
                  "description": "Total item count."
                },
                "isHidden": {
                  "type": "boolean",
                  "description": "Whether the folder is hidden."
                }
              },
              "additionalProperties": true,
              "description": "Outlook mail folder resource."
            },
            "description": "Root-level mail folders returned by Outlook."
          },
          "nextLink": {
            "anyOf": [
              {
                "type": "string",
                "description": "Pagination URL for the next page, or null when there is no next page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "mailFolders",
          "nextLink"
        ],
        "description": "Outlook mail folder list response."
      }
    },
    {
      "id": "outlook.list_messages",
      "service": "outlook",
      "name": "list_messages",
      "description": "List Outlook messages from the mailbox or from a specific mail folder, with support for OData filters, sorting, field selection, and pagination.",
      "requiredScopes": [
        "User.Read",
        "Mail.ReadWrite"
      ],
      "providerPermissions": [
        "Mail.ReadWrite"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "mailFolderId": {
            "type": "string",
            "minLength": 1,
            "description": "Outlook mail folder ID."
          },
          "top": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "Maximum number of messages to return."
          },
          "filter": {
            "type": "string",
            "description": "OData filter expression for the messages query."
          },
          "orderby": {
            "type": "string",
            "description": "OData orderby expression for the messages query."
          },
          "select": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Message fields to request from Microsoft Graph.",
            "minItems": 1
          },
          "nextLink": {
            "type": "string",
            "description": "Opaque pagination URL returned by a previous Outlook response.",
            "format": "uri"
          },
          "bodyContentType": {
            "type": "string",
            "enum": [
              "text",
              "html"
            ],
            "description": "Preferred Outlook body content type for the response."
          }
        },
        "additionalProperties": false,
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Message ID."
                },
                "subject": {
                  "type": "string",
                  "description": "Message subject."
                },
                "bodyPreview": {
                  "type": "string",
                  "description": "Preview snippet of the message body."
                },
                "importance": {
                  "type": "string",
                  "description": "Message importance."
                },
                "isRead": {
                  "type": "boolean",
                  "description": "Whether the message is marked as read."
                },
                "isDraft": {
                  "type": "boolean",
                  "description": "Whether the message is a draft."
                },
                "webLink": {
                  "type": "string",
                  "description": "Web URL for the message in Outlook."
                },
                "body": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "A generic JSON object returned by Microsoft Graph."
                },
                "sender": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "A generic JSON object returned by Microsoft Graph."
                },
                "from": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "A generic JSON object returned by Microsoft Graph."
                },
                "toRecipients": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "A generic JSON object returned by Microsoft Graph."
                  },
                  "description": "Primary recipients."
                },
                "ccRecipients": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "A generic JSON object returned by Microsoft Graph."
                  },
                  "description": "Cc recipients."
                },
                "bccRecipients": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "A generic JSON object returned by Microsoft Graph."
                  },
                  "description": "Bcc recipients."
                },
                "replyTo": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "A generic JSON object returned by Microsoft Graph."
                  },
                  "description": "Reply-to recipients."
                },
                "flag": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "A generic JSON object returned by Microsoft Graph."
                }
              },
              "additionalProperties": true,
              "description": "Outlook message resource."
            },
            "description": "Messages returned by Outlook."
          },
          "nextLink": {
            "anyOf": [
              {
                "type": "string",
                "description": "Pagination URL for the next page, or null when there is no next page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "messages",
          "nextLink"
        ],
        "description": "Outlook message list response."
      }
    },
    {
      "id": "outlook.reply_email",
      "service": "outlook",
      "name": "reply_email",
      "description": "Reply to an existing Outlook message with either a comment or a replacement body, and optionally add more recipients to the reply.",
      "requiredScopes": [
        "Mail.Send"
      ],
      "providerPermissions": [
        "Mail.Send"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": "string",
            "minLength": 1,
            "description": "Outlook message ID."
          },
          "comment": {
            "type": "string",
            "description": "Comment to include with the reply."
          },
          "body": {
            "type": "string",
            "description": "Reply body content."
          },
          "isHtml": {
            "type": "boolean",
            "description": "Whether the reply body is already HTML content."
          },
          "toRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Additional primary recipients for the reply."
          },
          "ccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Additional Cc recipients for the reply."
          },
          "bccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Additional Bcc recipients for the reply."
          }
        },
        "additionalProperties": false,
        "required": [
          "messageId"
        ],
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "const": true,
            "type": "boolean",
            "description": "Whether the Outlook operation completed successfully."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ],
        "description": "Successful Outlook mutation acknowledgement."
      }
    },
    {
      "id": "outlook.send_draft",
      "service": "outlook",
      "name": "send_draft",
      "description": "Send an existing Outlook draft message by message ID.",
      "requiredScopes": [
        "Mail.Send"
      ],
      "providerPermissions": [
        "Mail.Send"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": "string",
            "minLength": 1,
            "description": "Outlook message ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "messageId"
        ],
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "const": true,
            "type": "boolean",
            "description": "Whether the Outlook operation completed successfully."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ],
        "description": "Successful Outlook mutation acknowledgement."
      }
    },
    {
      "id": "outlook.send_email",
      "service": "outlook",
      "name": "send_email",
      "description": "Send a new Outlook email in a single operation, without creating a standalone draft first.",
      "requiredScopes": [
        "Mail.Send"
      ],
      "providerPermissions": [
        "Mail.Send"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "subject": {
            "type": "string",
            "description": "Subject line for the message."
          },
          "body": {
            "type": "string",
            "description": "Body content for the message."
          },
          "isHtml": {
            "type": "boolean",
            "description": "Whether the message body is already HTML content."
          },
          "toRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Primary recipients for the message."
          },
          "ccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Cc recipients for the message."
          },
          "bccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Bcc recipients for the message."
          },
          "replyTo": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Reply-to recipients for the message."
          },
          "importance": {
            "type": "string",
            "enum": [
              "low",
              "normal",
              "high"
            ],
            "description": "Message importance."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Categories for the message.",
            "minItems": 1
          },
          "saveToSentItems": {
            "type": "boolean",
            "description": "Whether to save the sent message in Sent Items."
          }
        },
        "additionalProperties": false,
        "required": [
          "subject",
          "body"
        ],
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "const": true,
            "type": "boolean",
            "description": "Whether the Outlook operation completed successfully."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ],
        "description": "Successful Outlook mutation acknowledgement."
      }
    },
    {
      "id": "outlook.update_draft",
      "service": "outlook",
      "name": "update_draft",
      "description": "Update an existing Outlook draft message before sending.",
      "requiredScopes": [
        "Mail.ReadWrite"
      ],
      "providerPermissions": [
        "Mail.ReadWrite"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": "string",
            "minLength": 1,
            "description": "Outlook message ID."
          },
          "subject": {
            "type": "string",
            "description": "Subject line for the message."
          },
          "body": {
            "type": "string",
            "description": "Body content for the message."
          },
          "isHtml": {
            "type": "boolean",
            "description": "Whether the message body is already HTML content."
          },
          "toRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Primary recipients for the message."
          },
          "ccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Cc recipients for the message."
          },
          "bccRecipients": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Bcc recipients for the message."
          },
          "replyTo": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "Recipient email address."
                },
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Recipient email address."
                    },
                    "name": {
                      "type": "string",
                      "description": "Recipient display name."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "address"
                  ],
                  "description": "Recipient object with optional display name."
                }
              ],
              "description": "Recipient email address or recipient object with display name."
            },
            "description": "Reply-to recipients for the message."
          },
          "importance": {
            "type": "string",
            "enum": [
              "low",
              "normal",
              "high"
            ],
            "description": "Message importance."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Categories for the message.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "messageId"
        ],
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Message ID."
          },
          "subject": {
            "type": "string",
            "description": "Message subject."
          },
          "bodyPreview": {
            "type": "string",
            "description": "Preview snippet of the message body."
          },
          "importance": {
            "type": "string",
            "description": "Message importance."
          },
          "isRead": {
            "type": "boolean",
            "description": "Whether the message is marked as read."
          },
          "isDraft": {
            "type": "boolean",
            "description": "Whether the message is a draft."
          },
          "webLink": {
            "type": "string",
            "description": "Web URL for the message in Outlook."
          },
          "body": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "sender": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "from": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "toRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Primary recipients."
          },
          "ccRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Cc recipients."
          },
          "bccRecipients": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Bcc recipients."
          },
          "replyTo": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A generic JSON object returned by Microsoft Graph."
            },
            "description": "Reply-to recipients."
          },
          "flag": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          }
        },
        "additionalProperties": true,
        "description": "Outlook message resource."
      }
    },
    {
      "id": "outlook.update_mailbox_settings",
      "service": "outlook",
      "name": "update_mailbox_settings",
      "description": "Update Outlook mailbox settings such as automatic replies, locale, time zone, working hours, and date or time formatting.",
      "requiredScopes": [
        "MailboxSettings.ReadWrite"
      ],
      "providerPermissions": [
        "MailboxSettings.ReadWrite"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "automaticRepliesSetting": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "dateFormat": {
            "type": "string",
            "description": "Updated date format."
          },
          "delegateMeetingMessageDeliveryOptions": {
            "type": "string",
            "enum": [
              "sendToDelegateAndInformationToPrincipal",
              "sendToDelegateAndPrincipal",
              "sendToDelegateOnly"
            ],
            "description": "Updated delegate meeting-message delivery behavior."
          },
          "language": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "timeFormat": {
            "type": "string",
            "description": "Updated time format."
          },
          "timeZone": {
            "type": "string",
            "description": "Updated mailbox time zone."
          },
          "workingHours": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          }
        },
        "additionalProperties": false,
        "description": "Outlook action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "automaticRepliesSetting": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "timeZone": {
            "type": "string",
            "description": "Preferred mailbox time zone."
          },
          "language": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "workingHours": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "userPurpose": {
            "type": "object",
            "additionalProperties": true,
            "description": "A generic JSON object returned by Microsoft Graph."
          },
          "dateFormat": {
            "type": "string",
            "description": "Preferred date format."
          },
          "timeFormat": {
            "type": "string",
            "description": "Preferred time format."
          },
          "delegateMeetingMessageDeliveryOptions": {
            "type": "string",
            "description": "Delegate meeting-message delivery behavior."
          }
        },
        "additionalProperties": true,
        "description": "Mailbox settings for the current Outlook account."
      }
    }
  ]
}
