Create a ticket
dolibarr_ticket_createCreates a Dolibarr helpdesk ticket with subject and message, plus optional type, category, severity, contact, project, and assignee details.
Instructions
Opens a helpdesk ticket. Type, category and severity codes come from dolibarr_dictionary (ticket_types, ticket_categories, ticket_severities).
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": {
"subject": "<subject>",
"message": "<message>"
},
"name": "dolibarr_ticket_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| subject | Yes | ||
| type_code | No | ||
| contact_id | No | ||
| project_id | No | ||
| origin_email | No | Email address of the requester. | |
| category_code | No | ||
| custom_fields | No | Custom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list. | |
| severity_code | No | ||
| thirdparty_id | No | ||
| assign_to_user_id | No |