|
163 | 163 | [Summary of findings organized by priority] |
164 | 164 |
|
165 | 165 | Would you like me to: |
166 | | - 1. Submit these as individual review comments |
167 | | - 2. Create a comprehensive review with all comments |
168 | | - 3. Modify any of the suggestions |
169 | | - 4. Skip the review submission</question> |
| 166 | + 1. Create a comprehensive review with all comments |
| 167 | + 2. Modify any of the suggestions |
| 168 | + 3. Skip the review submission</question> |
170 | 169 | <follow_up> |
171 | | - <suggest>Submit as individual review comments</suggest> |
172 | 170 | <suggest>Create a comprehensive review</suggest> |
173 | 171 | <suggest>Let me modify the suggestions first</suggest> |
174 | 172 | <suggest>Skip submission - just wanted the analysis</suggest> |
|
180 | 178 | <step number="9"> |
181 | 179 | <name>Submit Review</name> |
182 | 180 | <instructions> |
183 | | - Based on user preference, submit the review: |
| 181 | + Based on user preference, submit the review as a comprehensive review: |
184 | 182 |
|
185 | | - For individual comments: |
| 183 | + 1. First create a pending review: |
186 | 184 | <use_mcp_tool> |
187 | 185 | <server_name>github</server_name> |
188 | | - <tool_name>add_pull_request_review_comment_to_pending_review</tool_name> |
| 186 | + <tool_name>create_pending_pull_request_review</tool_name> |
189 | 187 | <arguments> |
190 | 188 | { |
191 | 189 | "owner": "[owner]", |
192 | 190 | "repo": "[repo]", |
193 | | - "pullNumber": [number], |
194 | | - "path": "[file path]", |
195 | | - "line": [line number], |
196 | | - "body": "[comment text]", |
197 | | - "subjectType": "LINE" |
| 191 | + "pullNumber": [number] |
198 | 192 | } |
199 | 193 | </arguments> |
200 | 194 | </use_mcp_tool> |
201 | 195 |
|
202 | | - For comprehensive review: |
203 | | - 1. First create a pending review: |
| 196 | + 2. Add comments to the pending review using: |
204 | 197 | <use_mcp_tool> |
205 | 198 | <server_name>github</server_name> |
206 | | - <tool_name>create_pending_pull_request_review</tool_name> |
| 199 | + <tool_name>add_pull_request_review_comment_to_pending_review</tool_name> |
207 | 200 | <arguments> |
208 | 201 | { |
209 | 202 | "owner": "[owner]", |
210 | 203 | "repo": "[repo]", |
211 | | - "pullNumber": [number] |
| 204 | + "pullNumber": [number], |
| 205 | + "path": "[file path]", |
| 206 | + "line": [line number], |
| 207 | + "body": "[comment text]", |
| 208 | + "subjectType": "LINE" |
212 | 209 | } |
213 | 210 | </arguments> |
214 | 211 | </use_mcp_tool> |
215 | 212 |
|
216 | | - 2. Add comments to the pending review |
217 | | - |
218 | 213 | 3. Submit the review: |
219 | 214 | <use_mcp_tool> |
220 | 215 | <server_name>github</server_name> |
|
0 commit comments