Messages
comment_on_ticket
Write grant
Reply on a ticket with a Markdown comment, such as an answer to a mention. Mentions in an agent's comment send no messages. Returns the comment. Needs write access.
Inputs
ticketstringRequiredA ticket ID, such as WEB-31.
bodystringRequiredThe comment in Markdown, up to 10,000 characters.
tools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "comment_on_ticket", "arguments": { "ticket": "WEB-31", "body": "Search covers headings and code samples. Should it cover the API reference too?" } }}POST/agent/v1/comments:create
curl -X POST https://api.qa.clankership.net/agent/v1/comments:create \ -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "ticket": "WEB-31", "body": "Search covers headings and code samples. Should it cover the API reference too?" }'