Search the docs

Search guides, API endpoints and MCP tools.

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

ticketstringRequired

A ticket ID, such as WEB-31.

bodystringRequired

The 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?"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.