EmailAgentwithMemory / app /schemas /email_writing_agent_tools_schema.py
Gaykar's picture
added ag
c6421b9
raw
history blame contribute delete
400 Bytes
from pydantic import BaseModel, Field
class CreateDraftSchema(BaseModel):
to: str = Field(description="Recipient email address,must be a plain string email, NOT a list/array.")
subject: str = Field(description="Email subject.")
body: str = Field(description="Email body content.")
class SendDraftSchema(BaseModel):
draft_id: str = Field(description="The ID of the draft to send.")