MCP Tools Reference: tasksmcp.googleapis.com

Tool: create_task

Creates a new task in a list. A task is a to-do or a reminder for an action the user needs to complete, usually with flexible timing. Tasks often start with a verb, e.g., "review", "prepare", "submit", "send". A task with a scheduled date and time also works as a reminder, and the user is notified at that time.

Do NOT use this tool for events. An event is a block of time with a clear start and end, such as an appointment, meeting, "Focus time", "Deep work", "Workout", birthday, anniversary, or holiday. If the user asks to be reminded about an event, prefer a calendar tool to create an event with a notification instead.

Examples:

  • "Add 'buy milk' to my to-do list." -> create a task.
  • "Remind me to water the plants tomorrow at 9am." -> create a task.
  • "Remind me to schedule a doctor's appointment tomorrow at 10am." -> create a task.
  • "Remind me about my doctor's appointment tomorrow at 10am." -> do NOT create a task; this is an event.

RULES FOR DEADLINES, SCHEDULED DATES, AND RECURRENCES:

  • Deadlines vs Scheduled Dates: Use deadlineDate ONLY when explicitly requested with 'by [date]', 'due', or 'deadline'. Default to scheduledDate for 'for [date]' / 'on [date]'.
  • Deadlines with Time: Deadlines only support dates. Always set deadlineDate. If a time is specified for the deadline (e.g., 'due Friday at 5pm'), preserve it by setting scheduledDate and scheduledTime to that time, unless a separate scheduled date/time was requested. If the deadline has no time, leave the scheduled fields empty.
  • Deadlines on Recurring Tasks: Google Tasks does not support deadlines on recurring tasks. When creating a recurring task (with recurrenceRule), any requested deadline is omitted.
  • Recurrence Start Date: scheduledDate is the first occurrence. Use the first date matching the schedule (e.g., for 'every Friday starting Tue, Nov 3', use Fri, Nov 6); a non-matching date is kept as an extra first occurrence.

The following code sample shows how to use curl to call the create_task MCP tool.

Curl Request
curl --location 'https://tasksmcp.googleapis.com/mcp/v1' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'content-type: application/json' \
--header 'accept: application/json, text/event-stream' \
--data '{
  "method": "tools/call",
  "params": {
    "name": "create_task",
    "arguments": {
      // Provide these details according to the MCP tool specification.
    }
  },
  "jsonrpc": "2.0",
  "id": 1
}'

Input Schema

Request to create a new task. At least one of title, description, scheduledDate, deadlineDate or attachments must be set.

CreateTaskRequest

JSON representation
{
  "attachments": [
    {
      object (Attachment)
    }
  ],
  "taskListId": string,
  "title": string,
  "description": string,
  "scheduledDate": string,
  "scheduledTime": string,
  "deadlineDate": string,
  "recurrenceRule": {
    object (RecurrenceRule)
  },
  "timeZone": string
}
Fields
attachments[]

object (Attachment)

Optional. Attachments to add to the task. Currently, only Google Drive files (driveAttachment) are supported. At most 25 attachments can be added.

Union field _task_list_id.

_task_list_id can be only one of the following:

taskListId

string

Optional. The identifier of the task list in which the task is created. If not specified, the task will be created on the user's default task list ("~default").

Union field _title.

_title can be only one of the following:

title

string

Optional. The title of the task. At most 1024 characters; characters outside the Basic Multilingual Plane, such as most emojis, count as two.

Union field _description.

_description can be only one of the following:

description

string

Optional. The description of the task. At most 8192 characters; characters outside the Basic Multilingual Plane, such as most emojis, count as two.

Union field _scheduled_date.

_scheduled_date can be only one of the following:

scheduledDate

string

Optional. Scheduled date of the task (YYYY-MM-DD). Use this when the user specifies when to do the task ('task for tomorrow', 'do this on Friday', 'schedule for Monday').

Union field _scheduled_time.

_scheduled_time can be only one of the following:

scheduledTime

string

Optional. The scheduled time of the task (HH:MM:SS) in ISO 8601 extended format. Requires scheduledDate.

Union field _deadline_date.

_deadline_date can be only one of the following:

deadlineDate

string

Optional. Deadline/due date of the task (YYYY-MM-DD). ONLY use deadlineDate when the user explicitly specifies a deadline or due date using 'by [date]', 'due', 'due by', 'due on', or 'deadline'. Repeating tasks cannot have deadlines.

Union field _recurrence_rule.

_recurrence_rule can be only one of the following:

recurrenceRule

object (RecurrenceRule)

Optional. The recurrence rule of the task if applicable. Leave empty for a non-recurring task. scheduledDate should match the schedule; otherwise it's kept as an extra first occurrence.

Union field _time_zone.

_time_zone can be only one of the following:

timeZone

string

Optional. The IANA time zone ID (e.g., "America/New_York", "UTC") used to resolve scheduledDate, scheduledTime, and deadlineDate. Set this to the user's time zone whenever any of these fields is specified. If omitted, defaults to "UTC".

RecurrenceRule

JSON representation
{
  "dailySchedule": {
    object (DailySchedule)
  },
  "weeklySchedule": {
    object (WeeklySchedule)
  },
  "monthlySchedule": {
    object (MonthlySchedule)
  },
  "yearlySchedule": {
    object (YearlySchedule)
  },

  "endDate": string,
  "countLimit": integer,
  "interval": integer
}
Fields
Union field schedule. Specific schedule configuration. Exactly one schedule type must be set. schedule can be only one of the following:
dailySchedule

object (DailySchedule)

Daily schedule options. Set to an empty object ({}) to repeat the task every interval days.

weeklySchedule

object (WeeklySchedule)

Weekly schedule options.

monthlySchedule

object (MonthlySchedule)

Monthly schedule options.

yearlySchedule

object (YearlySchedule)

Yearly schedule options. Set to an empty object ({}) to repeat the task every interval years on the month and day of its scheduledDate.

Union field end_condition. Optional condition that specifies where the recurrence ends. end_condition can be only one of the following:
endDate

string

Optional. End date of the recurrence (YYYY-MM-DD).

countLimit

integer

Optional. Number of occurrences before the recurrence ends.

Union field _interval.

_interval can be only one of the following:

interval

integer

Optional. Number of schedule units (days, weeks, months, or years) between occurrences. For example, 2 with weeklySchedule means every 2 weeks. Default is 1.

WeeklySchedule

JSON representation
{
  "daysOfWeek": [
    enum (DayOfWeek)
  ]
}
Fields
daysOfWeek[]

enum (DayOfWeek)

Required. Days of the week this task occurs on (e.g., ["MONDAY", "WEDNESDAY"], or ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"] for weekdays only). Must not be empty.

MonthlySchedule

JSON representation
{
  "dayOfMonth": integer,
  "monthlyDayOfWeek": {
    object (MonthlyDayOfWeek)
  }
}
Fields
Union field monthly_type. Monthly schedule specification. Exactly one monthly rule must be set. monthly_type can be only one of the following:
dayOfMonth

integer

Optional. Specific day of the month (1 to 31, or -1 for last day of month).

monthlyDayOfWeek

object (MonthlyDayOfWeek)

Relative day of week in month (e.g. 3rd Tuesday).

MonthlyDayOfWeek

JSON representation
{
  "weekNumber": integer,
  "dayOfWeek": enum (DayOfWeek)
}
Fields
weekNumber

integer

Required. Week of the month: 1 for 1st, 2 for 2nd, 3 for 3rd, 4 for 4th, -1 for last.

dayOfWeek

enum (DayOfWeek)

Required. Day of week (e.g., "TUESDAY").

Attachment

JSON representation
{
  "attachmentId": string,

  "driveAttachment": {
    object (DriveAttachment)
  }
}
Fields
attachmentId

string

Output only. Unique ID of the attachment on a task. Scoped to that task (the same resource attached to multiple tasks may have different IDs). Use this ID in removedAttachmentIds to remove the attachment. Ignored when adding attachments.

Union field attachment. The attached resource. attachment can be only one of the following:
driveAttachment

object (DriveAttachment)

A Google Drive file attached to the task.

DriveAttachment

JSON representation
{
  "mimeType": string,
  "fileUrl": string
}
Fields
mimeType

string

Output only. MIME type of the attached file (e.g., "application/vnd.google-apps.document" or "application/pdf"). May be empty if unknown. Ignored when adding attachments.

Union field _file_url.

_file_url can be only one of the following:

fileUrl

string

Required. The Google Drive URL of the attached file (docs.google.com or drive.google.com). Folders are not supported.

DayOfWeek

Represents a day of the week.

Enums
DAY_OF_WEEK_UNSPECIFIED The day of the week is unspecified.
MONDAY Monday
TUESDAY Tuesday
WEDNESDAY Wednesday
THURSDAY Thursday
FRIDAY Friday
SATURDAY Saturday
SUNDAY Sunday

Output Schema

Represents a task.

Task

JSON representation
{
  "id": string,
  "lastModified": string,
  "attachments": [
    {
      object (Attachment)
    }
  ],
  "taskListId": string,
  "title": string,
  "description": string,
  "completed": boolean,
  "deleted": boolean,
  "scheduledDate": string,
  "scheduledTime": string,
  "deadlineDate": string,
  "recurrenceRule": {
    object (RecurrenceRule)
  },
  "link": string,
  "timeZone": string,
  "assignmentInfo": {
    object (AssignmentInfo)
  },
  "parentTaskId": string,
  "position": integer
}
Fields
id

string

Output only. Unique ID of the task. Task IDs are not interchangeable with those of the Google Tasks REST API.

lastModified

string

Output only. ISO 8601 last modified timestamp in UTC (e.g. 2026-08-19T10:00:00Z).

attachments[]

object (Attachment)

Output only. Attachments on the task. Currently, only Google Drive files are returned.

Union field _task_list_id.

_task_list_id can be only one of the following:

taskListId

string

Optional. ID of the task list that this task belongs to.

Union field _title.

_title can be only one of the following:

title

string

Optional. Title of the task. May contain URLs. Empty if the task has no title.

Union field _description.

_description can be only one of the following:

description

string

Optional. Description or notes for the task. May contain URLs.

Union field _completed.

_completed can be only one of the following:

completed

boolean

Optional. Whether the task is completed.

Union field _deleted.

_deleted can be only one of the following:

deleted

boolean

Optional. Whether the task is deleted.

Union field _scheduled_date.

_scheduled_date can be only one of the following:

scheduledDate

string

Optional. Scheduled date of the task (YYYY-MM-DD).

Union field _scheduled_time.

_scheduled_time can be only one of the following:

scheduledTime

string

Optional. Scheduled time of the task (HH:MM:SS) in ISO 8601 extended format.

Union field _deadline_date.

_deadline_date can be only one of the following:

deadlineDate

string

Optional. Deadline date of the task (YYYY-MM-DD).

Union field _recurrence_rule.

_recurrence_rule can be only one of the following:

recurrenceRule

object (RecurrenceRule)

Optional. Recurrence rule describing the recurrence schedule for this task.

Union field _link.

_link can be only one of the following:

link

string

Output only. Web link to view the task in the Google Tasks web UI.

Union field _time_zone.

_time_zone can be only one of the following:

timeZone

string

Output only. The IANA time zone ID (e.g., "America/New_York", "UTC") of the task.

Union field _assignment_info.

_assignment_info can be only one of the following:

assignmentInfo

object (AssignmentInfo)

Output only. How the task is shared with others. Unset if the task is not shared. Changes to shared tasks are visible to other people.

Union field _parent_task_id.

_parent_task_id can be only one of the following:

parentTaskId

string

Output only. ID of the parent task if this task is a subtask. Unset for top-level tasks. Only returned by list_tasks. Unset if the task isn't shown in the task list, e.g. deleted tasks and completed tasks that are no longer shown.

Union field _position.

_position can be only one of the following:

position

integer

Output only. 0-based position of the task among its siblings in the user's custom order of the task list ("My order" in the Google Tasks apps): the task with position 0 is at the top. Siblings are the top-level tasks of the task list, or the subtasks of the same parentTaskId. Sort the siblings by position to get their order. Positions may have gaps for tasks that aren't returned, e.g. completed tasks or tasks on other pages. Only returned by list_tasks. Unset if the task isn't shown in the task list, e.g. deleted tasks and completed tasks that are no longer shown.

RecurrenceRule

JSON representation
{
  "dailySchedule": {
    object (DailySchedule)
  },
  "weeklySchedule": {
    object (WeeklySchedule)
  },
  "monthlySchedule": {
    object (MonthlySchedule)
  },
  "yearlySchedule": {
    object (YearlySchedule)
  },

  "endDate": string,
  "countLimit": integer,
  "interval": integer
}
Fields
Union field schedule. Specific schedule configuration. Exactly one schedule type must be set. schedule can be only one of the following:
dailySchedule

object (DailySchedule)

Daily schedule options. Set to an empty object ({}) to repeat the task every interval days.

weeklySchedule

object (WeeklySchedule)

Weekly schedule options.

monthlySchedule

object (MonthlySchedule)

Monthly schedule options.

yearlySchedule

object (YearlySchedule)

Yearly schedule options. Set to an empty object ({}) to repeat the task every interval years on the month and day of its scheduledDate.

Union field end_condition. Optional condition that specifies where the recurrence ends. end_condition can be only one of the following:
endDate

string

Optional. End date of the recurrence (YYYY-MM-DD).

countLimit

integer

Optional. Number of occurrences before the recurrence ends.

Union field _interval.

_interval can be only one of the following:

interval

integer

Optional. Number of schedule units (days, weeks, months, or years) between occurrences. For example, 2 with weeklySchedule means every 2 weeks. Default is 1.

WeeklySchedule

JSON representation
{
  "daysOfWeek": [
    enum (DayOfWeek)
  ]
}
Fields
daysOfWeek[]

enum (DayOfWeek)

Required. Days of the week this task occurs on (e.g., ["MONDAY", "WEDNESDAY"], or ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"] for weekdays only). Must not be empty.

MonthlySchedule

JSON representation
{
  "dayOfMonth": integer,
  "monthlyDayOfWeek": {
    object (MonthlyDayOfWeek)
  }
}
Fields
Union field monthly_type. Monthly schedule specification. Exactly one monthly rule must be set. monthly_type can be only one of the following:
dayOfMonth

integer

Optional. Specific day of the month (1 to 31, or -1 for last day of month).

monthlyDayOfWeek

object (MonthlyDayOfWeek)

Relative day of week in month (e.g. 3rd Tuesday).

MonthlyDayOfWeek

JSON representation
{
  "weekNumber": integer,
  "dayOfWeek": enum (DayOfWeek)
}
Fields
weekNumber

integer

Required. Week of the month: 1 for 1st, 2 for 2nd, 3 for 3rd, 4 for 4th, -1 for last.

dayOfWeek

enum (DayOfWeek)

Required. Day of week (e.g., "TUESDAY").

Attachment

JSON representation
{
  "attachmentId": string,

  "driveAttachment": {
    object (DriveAttachment)
  }
}
Fields
attachmentId

string

Output only. Unique ID of the attachment on a task. Scoped to that task (the same resource attached to multiple tasks may have different IDs). Use this ID in removedAttachmentIds to remove the attachment. Ignored when adding attachments.

Union field attachment. The attached resource. attachment can be only one of the following:
driveAttachment

object (DriveAttachment)

A Google Drive file attached to the task.

DriveAttachment

JSON representation
{
  "mimeType": string,
  "fileUrl": string
}
Fields
mimeType

string

Output only. MIME type of the attached file (e.g., "application/vnd.google-apps.document" or "application/pdf"). May be empty if unknown. Ignored when adding attachments.

Union field _file_url.

_file_url can be only one of the following:

fileUrl

string

Required. The Google Drive URL of the attached file (docs.google.com or drive.google.com). Folders are not supported.

AssignmentInfo

JSON representation
{
  "surfaceType": enum (SurfaceType)
}
Fields
surfaceType

enum (SurfaceType)

Output only. The surface the shared task originates from.

DayOfWeek

Represents a day of the week.

Enums
DAY_OF_WEEK_UNSPECIFIED The day of the week is unspecified.
MONDAY Monday
TUESDAY Tuesday
WEDNESDAY Wednesday
THURSDAY Thursday
FRIDAY Friday
SATURDAY Saturday
SUNDAY Sunday

SurfaceType

The surface the shared task originates from.

Enums
SURFACE_TYPE_UNSPECIFIED Unspecified surface type.
DOCUMENT The task was assigned from a document (e.g., Docs, Sheets, Slides).
SPACE The task belongs to a Google Chat space.

Tool Annotations

Tool annotations are sent to MCP clients to describe the basic risk of a given tool. Most clients treat these hints as untrusted, but they can be used to decide when a confirmation prompt might be sent to a user.

Along with the title string, the following boolean hints are defined as follows:

  • readOnlyHint: If true, the tool doesn't modify its environment. Default: false.
  • destructiveHint: If true, then the tool can perform destructive actions. If false, then the tool can only perform additive actions. Default: true.
  • idempotentHint: If true, then calling the tool repeatedly with the same arguments will have no additional effect on its environment. Default: false.
  • openWorldHint: If true, then the tool can interact with an 'open world' of external entities. If false, then the tool can only interact with internal entities. For example, a web search tool would be open world, while a memory tool would not be open world.

Destructive Hint: ❌ | Idempotent Hint: ❌ | Read Only Hint: ❌ | Open World Hint: ❌

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/tasks