langchain.tools.office365.events_search.SearchEventsInput¶
class langchain.tools.office365.events_search.SearchEventsInput[source]¶
Bases: BaseModel
Input for SearchEmails Tool.
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 end_datetime: str [Required]¶
The end datetime for the search query 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 max_results: int = 10¶
The maximum number of results to return.
param start_datetime: str [Required]¶
The start datetime for the search query 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 truncate: bool = True¶
Whether the event’s body is truncated to meet token number limits. Set to False for searches that will retrieve very few results, otherwise, set to True.
classmethod construct(_fields_set: Optional[SetStr] = None, **values: Any) → Model¶