reject_post
Reject a post's approval workflow. Only works on a post with approval_status 'pending' (post status in_approval) — check get_post first. IMPORTANT: only succeeds if the connected user is a listed approver for the workflow's CURRENT step (same requirement as approve_post). Unlike approval, a rejection stops the WHOLE workflow immediately, not just the current step — the post's status becomes rejected and it will not publish. Pass comment to explain why; it's shown to the requester and other approvers in the post's review thread. Pass step_order (the current_step from get_post_approval) as with approve_post; on step_changed, read the review again before you decide.
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": {
"id": "<id>"
},
"name": "reject_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post ID to reject (must have approval_status 'pending') | |
| comment | No | Optional reason for the rejection, shown to the requester and other approvers. | |
| step_order | No | The workflow step the user reviewed: current_step from get_post_approval. When the review is on another step now, nothing is rejected and the answer is step_changed. |