list_comments
List the discussion thread attached to a review or an annotation. Returns a flat, chronological list; reconstruct the thread tree from each comment's parent_comment_id (null = top-level). Use this to read replies before joining a discussion.
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": {
"target_type": "<target_type>",
"target_id": "<target_id>"
},
"name": "list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | The review id or annotation id the comments are attached to | |
| max_results | No | ||
| target_type | Yes |