post_pr_comment
Post a new comment thread to a pull request, specifying text, status, and optional working directory for context.
Instructions
Post a new comment thread to a PR.
Creates a new comment thread with the specified content and status.
Args: pr_url_or_id: A full PR URL or numeric PR ID. comment_text: Comment body text. status: Thread status (default "active"). 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>",
"comment_text": "<comment_text>"
},
"name": "post_pr_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url_or_id | Yes | ||
| comment_text | Yes | ||
| status | No | active | |
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |