langchain_community.tools.gmail.create_draft.CreateDraftSchema¶

class langchain_community.tools.gmail.create_draft.CreateDraftSchema[source]¶

Bases: BaseModel

Input for CreateDraftTool.

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

Raises ValidationError if the input data cannot be parsed to form a valid model.

param bcc: Optional[List[str]] = None¶

The list of BCC recipients.

param cc: Optional[List[str]] = None¶

The list of CC recipients.

param message: str [Required]¶

The message to include in the draft.

param subject: str [Required]¶

The subject of the message.

param to: List[str] [Required]¶

The list of recipients.