Create Task
createTaskCreates a Thunderbird task/to-do with title, due date, priority, reminders, calendar, and categories; check existing tasks first, then add immediately or via the task dialog based on settings.
Instructions
Create a task (to-do). No duplicate check: listTasks first. It is added at once (taskId in the result), unless the user's settings ask for Thunderbird's task dialog: then it exists once the user saves it (listTasks with the reviewId of the result tells).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "createTask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Task title | |
| dueDate | No | Due date in ISO 8601 format | |
| priority | No | Priority: 1=high, 5=normal, 9=low | |
| reminders | No | Display reminders in minutes before the due date (needs dueDate) | |
| startDate | No | Start date, ISO 8601 | |
| calendarId | No | Target calendar ID (from listCalendars, must have supportsTasks=true) | |
| categories | No | Category labels, case-sensitive: names from listCategories, or new ones (not added to its list) | |
| skipReview | No | true: add at once (refused if the settings ask for the dialog); false: open the dialog (default: the settings) | |
| description | No | Task description/body |