get_comments
Retrieve time-ordered comment threads for a patch or cover letter by providing its ID and type.
Instructions
Get the comment thread on a cover letter or a patch, time-ordered.
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": {
"kind": "<kind>",
"id": "<id>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Comments target type | |
| id | Yes | Cover-letter id or patch id | |
| preview_lines | No | Lines of body to include per comment (use 0 for no body) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |