Add task to ticket
glpi_add_ticket_taskAdd a task to a GLPI ticket with required ticket ID and content, plus optional privacy, state, duration, and technician assignment.
Instructions
Add a task to a ticket. Fields: tickets_id, content (required). Optional: is_private (0/1), state (0=Info, 1=To do, 2=Done), actiontime (seconds), users_id_tech (assigned technician).
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": {
"tickets_id": "<tickets_id>",
"content": "<content>"
},
"name": "glpi_add_ticket_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | 0=Info, 1=To do, 2=Done | |
| content | Yes | Task content | |
| actiontime | No | Duration in seconds | |
| is_private | No | 1=private, 0=public | |
| tickets_id | Yes | Ticket ID | |
| users_id_tech | No | Assigned technician user ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| replayed | No | True when an identical recent create was returned instead of repeated |