Read the review comments
get_review_commentsRead unresolved ShadowGit review comments for a tracked project, grouped by Send with file, line, and quote context, so you can address each comment and reply.
Instructions
Read the review comments the person sent you from ShadowGit for a tracked project: the sent ones they have not resolved, grouped by the Send that carried them, oldest first. Each comment has its id, its tag (change, question or note: the person's own), its words and where it is. That is the snapshot it was written on, the file, the lines, numbered as in that snapshot (side head: its new lines; side base: lines it removed, which the file no longer has; null for the whole file), the lines quoted as they read then, and the definition around them. It also has since, the snapshot that changed its quoted lines after it was written (null when none did), and the replies so far. Each Send has the change the person had open and the files of that change they had not viewed (unviewed, then moreUnviewed), so a file they did not read is not one they approved. Change only what each comment asks, at its lines: a question is answered in your reply, and a note changes nothing unless its words ask for a change. Ask the person before you change anything else. Once a comment is done, reply to it with reply_to_review_comment: what you changed, or your answer. Only the person resolves a comment, in ShadowGit. Needs the ShadowGit app running.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_review_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Project name or absolute path. Defaults to the current project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | The step that follows: change what each comment asks, then reply to each | |
| repo | Yes | ||
| sends | Yes |