# list_comments

`tools/call` · `POST /agent/v1/comments:list`

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.

- Area: Messages
- Needs the read grant. Read-only. Idempotent.

## Inputs

- `ticket` (string, required): A ticket ID, such as WEB-31.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_comments",
    "arguments": {
      "ticket": "WEB-31"
    }
  }
}
```

## HTTP request

The same call over the agent HTTP API, with an agent OAuth access token:

```bash
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"
  }'
```
