Tasks

Create a task

Creates a task with domain validation: the type, the staff, the project and the related document are checked against your account, and a foreign reference responds 400 without creating anything.

Tool
filmo_tasks_create
Access: Write

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "filmo_tasks_create",
    "arguments": {
      "title": "Example",
      "startDate": "2026-09-01T08:00:00Z",
      "type": "<type>"
    }
  }
}

generated from the schema

Returns the created task.

Arguments

titlestringRequired

Task title. Required.

Limits: min length 1, max length 300

descriptionstring

Task description or notes.

Limits: max length 5000

startDatestring<date-time>Required

Task start date and time (ISO 8601 with offset). Required.

endDatestring<date-time>

Task end date and time (ISO 8601 with offset); must be equal to or later than startDate.

isAllDaybooleandefault:false

Whether the task is all-day. Defaults to false.

typestringRequired

Task type: its identifier (system types: default, delivery, return, temporaryStock; custom types: their id, see /api/v1/task-types) or its name, matched ignoring case and accents. A name that matches several custom types is rejected with 400 listing their identifiers. The task takes the color of the type. Required.

Limits: min length 1, max length 100

assignedStaffIdsstring[]

Identifiers of the staff assigned to the task (max 50).

Limits: max 50 items, each min length 1, each max length 100

projectIdstring

Identifier of the project the task is linked to.

Limits: min length 1, max length 100

relatedDocumentIdstring

Identifier of the related document; always goes together with relatedDocumentType.

Limits: min length 1, max length 100

relatedDocumentTypestring

Type of the related document (contact, order, item, invoice, quote, project, etc.); always goes together with relatedDocumentId.

Available options: contact, order, item, kit, space, collection, invoice, quote, purchaseOrder, supplierInvoice, incident, repairTicket, project, vehicle, staff, service, opportunity

idempotencyKeystring

Idempotency key chosen by the client (a UUID is recommended). Repeating the same key with the same arguments within 24 h returns the stored response without executing again; with different arguments it responds 422. It is the safe way to retry after a network failure.

Limits: min length 1, max length 255

ifMatchstring

Optimistic locking: the meta.etag you got from the detail read of this resource (or "*"). If the resource changed since, the call fails with 412 precondition_failed before writing anything; read it again and retry. Omit it to write unconditionally.

Limits: min length 1

Result

On success the result carries structuredContent with data and meta. These are the attributes of data.

Show the attributes of data
idstring

Unique task identifier.

titlestring

Task title.

descriptionstring | null

Task description or notes; null if it has none.

startDatestring<date-time>

Start date and time in ISO 8601 with offset.

endDatestring<date-time> | null

End date and time in ISO 8601 with offset; null if it has no defined end.

isAllDayboolean

Whether the task is all-day.

isCompletedboolean

Whether the task is completed.

isRecurringboolean

Whether the task is part of a recurring series.

recurringGroupIdstring | null

Identifier of the recurrence group it belongs to; null if it is not recurring.

recurrencePatternobject | null

Recurrence pattern of the task; null if it is not recurring.

Show child attributes
recurrencePattern.frequencystring

Recurrence frequency: daily, weekly, monthly or yearly.

Available options: daily, weekly, monthly, yearly

recurrencePattern.intervalinteger

Interval between repetitions according to the frequency (e.g. 2 with weekly = every two weeks).

recurrencePattern.endAfterOccurrencesinteger | null

Number of repetitions after which the recurrence ends; null if it does not end by number of occurrences.

recurrencePattern.endDatestring<date-time> | null

Date on which the recurrence ends, in ISO 8601 with offset; null if it does not end by date.

typestring

Task type (identifier of the type).

assignedStaffIdsstring[]

Identifiers of the staff assigned to the task.

projectIdstring | null

Identifier of the linked project; null if the task is not linked.

relatedDocumentIdstring | null

Identifier of the related document; null if it has none.

relatedDocumentTypestring | null

Type of the related document (contact, order, invoice, quote, project, etc.); null if it has none.

appearanceobject

Appearance of the task in the schedule (color and variant).

Show child attributes
appearance.colorstring

Task color in the schedule (hexadecimal code).

appearance.variantstring

Visual variant of the task: primary, secondary, destructive or default.

Available options: primary, secondary, destructive, default

createdAtstring<date-time>

Creation date in ISO 8601 with offset.

updatedAtstring<date-time>

Last update date in ISO 8601 with offset.

An error is a result with isError: true and the problem in content[0].text; there is no structuredContent. See Errors.

Sample prompts

Create a task to check the lenses of order 2026-0142 before pickup.

The same operation by REST

This tool runs POST /api/v1/tasks.

  • Tasks

    Create a task

    Creates a task with domain validation: the type, the staff, the project and the related document are checked against your account, and a foreign reference responds 400 without creating anything.

  • Guides

    Safe writes

    An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.

  • Guides

    Errors

    A tool error is a result with isError: true and the problem in the first text block. Branch on its code.

Was this page helpful?