request_changes
Request changes on a pull request by providing a comment detailing what revisions are needed.
Instructions
Request changes on a pull request.
Use this tool to indicate that changes are needed before the pull request can be approved. Always include a comment explaining what needs to change.
Args: pr_id: Pull request ID. comment: Explanation of what changes are needed. repository: Repository slug. If not provided, uses current repository context. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: JSON object confirming the change request.
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_id": "<pr_id>",
"comment": "<comment>"
},
"name": "request_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | ||
| comment | Yes | ||
| workspace | No | ||
| repository | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |