Check a Docsworth pull request
check_prCheck whether a pull request opened by propose_edit, verify or draft_page is open, merged or closed, review its feedback, and confirm the page it touches before acting on the change.
Instructions
Check a pull request that propose_edit, verify or draft_page opened: whether it's open, merged or closed, its reviews, and the page it touches. Use it to follow up on a proposal before acting on it: before verify after an edit, or before proposing the same change again. A PR without a Docsworth PR's shape (its branch, base and files), or one touching a page you can't see, is reported as not found, the same as a number with no PR. The shape isn't proof of who opened it: check the number your own write returned.
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_number": "<pr_number>"
},
"name": "check_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_number | Yes | The `pr_number` that `propose_edit`, `verify` or `draft_page` returned |