CreateDraftMessageSchema#

class langchain_community.tools.office365.create_draft_message.CreateDraftMessageSchema[source]#

Bases: BaseModel

Input for SendMessageTool.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param bcc: List[str] | None = None#

The list of BCC recipients.

param body: str [Required]#

The message body to include in the draft.

param cc: List[str] | None = None#

The list of CC recipients.

param subject: str [Required]#

The subject of the message.

param to: List[str] [Required]#

The list of recipients.