SendEventSchema#

class langchain_community.tools.office365.send_event.SendEventSchema[source]#

Bases: BaseModel

Input for CreateEvent Tool.

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 attendees: List[str] [Required]#

The list of attendees for the event.

param body: str [Required]#

The message body to include in the event.

param end_datetime: str [Required]#

The end datetime for the event in the following format: YYYY-MM-DDTHH:MM:SS±hh:mm, where “T” separates the date and time components, and the time zone offset is specified as ±hh:mm. For example: “2023-06-09T10:30:00+03:00” represents June 9th, 2023, at 10:30 AM in a time zone with a positive offset of 3 hours from Coordinated Universal Time (UTC).

param start_datetime: str [Required]#

The start datetime for the event in the following format: YYYY-MM-DDTHH:MM:SS±hh:mm, where “T” separates the date and time components, and the time zone offset is specified as ±hh:mm. For example: “2023-06-09T10:30:00+03:00” represents June 9th, 2023, at 10:30 AM in a time zone with a positive offset of 3 hours from Coordinated Universal Time (UTC).

param subject: str [Required]#

The subject of the event.