resolve_pr_comments
Batch-resolve pull request comment threads by setting their status to fixed or another target status. Handles errors individually without failing the entire batch.
Instructions
Batch-resolve PR comment threads.
Sets thread status to the target status for a list of thread IDs. Uses partial-success semantics — individual thread errors don't fail the entire batch.
Args: pr_url_or_id: A full PR URL or numeric PR ID. thread_ids: Thread IDs to resolve. status: Target thread status (default "fixed"). working_directory: Optional path for context resolution.
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": {
"pr_url_or_id": "<pr_url_or_id>",
"thread_ids": "<thread_ids>"
},
"name": "resolve_pr_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url_or_id | Yes | ||
| thread_ids | Yes | ||
| status | No | fixed | |
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |