tasks

Create a new task in AI Note. Supports full task creation with dates, times, location, notes, and notifications.

Create a new task in AI Note. Supports full task creation with dates, times, location, notes, and notifications.

post/api/mcp/tools/create_task

Request

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

Request body

contentstring required

Task content (required)

is_importantboolean

Mark task as important (default: false)

due_datestring

Due date in ISO format (e.g., '2026-01-28' or '2026-01-28T15:00:00+09:00')

due_timestring

Due time in HH:MM format (e.g., '15:00'). If not provided, task is treated as all-day.

start_datestring

Start date for date range tasks in ISO format (e.g., for multi-day events)

is_all_dayboolean

Mark as all-day event — suppresses time-of-day rendering.

category_idstring

Category ID (UUID) to organize the task

notesstring

Additional notes or details for the task

locationstring

Location where the task takes place

location_latnumber

GPS latitude. Pair with location_lng.

location_lngnumber

GPS longitude. Pair with location_lat.

travel_timenumber

Minutes of travel time to allow before due_date.

has_notificationboolean

Enable reminder notifications (default: false)

reminder_timinginteger

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

reminder_timingsinteger[]

Multiple reminder offsets in minutes before due time (e.g., [10, 60] fires 10 min and 1 hour before). Overrides reminder_timing if provided.

repeat_rulestring

Recurrence rule (e.g., 'daily', 'weekly', 'monthly', 'yearly', or RRULE format)

Response

Tool executed successfully

Changes

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