Create a project task
dolibarr_task_createAdd a task to a Dolibarr project using a required project ID and label, with optional dates, planned hours, parent task, and custom fields.
Instructions
Adds a task to a project.
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": {
"project_id": "<project_id>",
"label": "<label>"
},
"name": "dolibarr_task_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Leave out to number it after the project ref. | |
| label | Yes | ||
| date_end | No | Date as YYYY-MM-DD. | |
| date_start | No | Date as YYYY-MM-DD. | |
| project_id | Yes | ||
| description | No | ||
| custom_fields | No | Custom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list. | |
| planned_hours | No | ||
| parent_task_id | No |