osticket_assign_ticket
Assign an osTicket ticket to an agent, logging the assignment and optionally adding an internal note and alerting the assignee. Blocks reassignment of already-assigned tickets unless explicitly allowed.
Instructions
Assign a ticket to an agent, like the staff panel: logs the assignment, optionally posts an internal note and alerts the assignee. Fails (409) if the ticket already has an assignee, unless reassign is true.
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": {
"number": "<number>",
"assigneeId": "<assigneeId>"
},
"name": "osticket_assign_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Internal note logged with the assignment | |
| alert | No | Send the assignment alert to the assignee (default true) | |
| number | Yes | Ticket number to assign | |
| staffId | No | Agent recorded as the one who assigned (default: the configured API agent) | |
| reassign | No | Allow replacing an existing assignee (default false) | |
| assigneeId | Yes | Staff id of the new assignee |