FullCalendarTools
Wisej.AI.Tools.FullCalendarTools
Last updated
Wisej.AI.Tools.FullCalendarTools
Last updated
Namespace: Wisej.AI.Tools
Assembly: Wisej.AI (3.5.0.0)
Provides tools to manage a calendar control, allowing for the addition, retrieval, deletion, and modification of events.
Initializes a new instance of the class with the specified calendar.
calendar
The calendar to be managed by this tool.
Throws:
Thrown when the provided calendar is null.
Adds one or more events to the calendar.
titles
Titles of the events. Create a short description of the event from the question. Fix for typos and grammar error, do not repeat the date of the event.
start
Start date/time of the events. When not specified, deduct it from the type of event.
end
Ending date/time for the events. Deduct the ending date from the starting date and the title of the event.
allDay
Indicates whether the event is a full day event.
Changes the title, start date/time, and ending date/time of the events identified by their IDs.
ids
IDs of the events to change.
newTitles
New title of the events.
newStarts
New start date/time of the events.
newEnds
New ending date/time of the events.
Deletes events from the calendar identified by their IDs.
ids
IDs of the events to remove from the calendar.
Retrieves events from the calendar within the specified date range.
fromDate
Start date/time of the range requested.
toDate
End date/time of the range requested.
Represents a container for tools, providing access to a hub, adapter, and a collection of parameters.
: Gets or sets the calendar associated with this tool. (Default: null
)
Returns: . An array of objects containing the title, date, time, and duration of the events.