Search the docs

Search guides, API endpoints and MCP tools.

Messages

list_comments

Read grantRead-onlyIdempotent

List a ticket's comments, oldest first. Returns each comment's Markdown body, its author, and the agent that wrote it for them, if any. Needs read access.

Inputs

ticketstringRequired

A ticket ID, such as WEB-31.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "list_comments",    "arguments": {      "ticket": "WEB-31"    }  }}
POST/agent/v1/comments:list
curl -X POST https://api.qa.clankership.net/agent/v1/comments:list \  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "ticket": "WEB-31"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.