tasks

Update an existing task. All fields are optional except id.

Update an existing task. All fields are optional except id.

post/api/mcp/tools/update_task

Request

  • Base URL: https://api.ainote.dev
  • URL: https://api.ainote.dev/api/mcp/tools/update_task
  • Auth: API key in header Authorization

Request body

idstring required

Task ID (required)

contentstring

New task content

is_importantboolean

Update important status

completed_atstring

Mark as completed (ISO format) or 'null' to uncomplete

due_datestring

Update due date in ISO format (or 'null' to clear)

due_timestring

Update due time in HH:MM format (or 'null' to make all-day)

start_datestring

Update start date in ISO format (or 'null' to clear)

is_all_dayboolean

Toggle all-day mode.

category_idstring

Update category ID (or 'null' to remove category)

notesstring

Update notes (or 'null' to clear)

locationstring

Update location (or 'null' to clear)

location_latnumber

Update GPS latitude.

location_lngnumber

Update GPS longitude.

travel_timenumber

Update travel-time minutes.

has_notificationboolean

Enable/disable reminder notifications

reminder_timinginteger

Minutes before due time to send reminder (e.g., 10 for 10 minutes before). Only used when has_notification is true.

reminder_timingsinteger[]

Multiple reminder offsets in minutes before due time (e.g., [10, 60]). Pass empty array [] to clear.

repeat_rulestring

Update recurrence rule (or 'null' to make non-recurring)

Response

Tool executed successfully

Changes

No recorded changes to this operation across all 1 revision of this API.