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][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 cc: List[str] | None = 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.