create_ticket_comment
Add a comment to an existing Zendesk ticket, with options to make it public or private and attach files using upload tokens.
Instructions
Add a comment to an existing Zendesk ticket. Requires the tickets:write scope.
WARNING: public=true comments are visible to the end customer. upload_tokens: tokens from upload_attachment to attach files.
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": {
"ticket_id": "<ticket_id>",
"comment": "<comment>"
},
"name": "create_ticket_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | ||
| comment | Yes | ||
| ticket_id | Yes | ||
| upload_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |