[ { "type": "function", "function": { "name": "add_event_date", "description": "Add event by title and date.", "parameters": { "type": "object", "properties": { "title": { "type": "string", "description": "The title of event ." }, "date": { "type": "string", "description": "The date to add events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date." }, "time": { "type": "string", "description": "Optional. The time to add events at, in the format \"HH:MM\". Leave blank if not applicable." } }, "required": [ "title", "date" ] } } }, { "type": "function", "function": { "name": "delete_event_date", "description": "Delete event by title and date.", "parameters": { "type": "object", "properties": { "title": { "type": "string", "description": "The title of event that want to delete." }, "date": { "type": "string", "description": "The date to delete events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date." } }, "required": [ "title", "date" ] } } }, { "type": "function", "function": { "name": "update_event", "description": "update event by title and date.", "parameters": { "type": "object", "properties": { "title": { "type": "string", "description": "The title of event that want to update." }, "date": { "type": "string", "description": "The date to update events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date." }, "time": { "type": "string", "description": "Optional. The time to update events at, in the format \"HH:MM\". Leave blank if not applicable." } }, "required": [ "title", "date" ] } } }, { "type": "function", "function": { "name": "view_event_date", "description": "view event by date.", "parameters": { "type": "object", "properties": { "date": { "type": "string", "description": "The date to view events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date." }, "time": { "type": "string", "description": "Optional. The time to view events at, in the format \"HH:MM\". Leave blank if not applicable." } }, "required": [ "date" ] } } } ]