approve_post
Approve the current step of 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 (steps approve in order); a forbidden error means the user isn't an approver for this step yet — tell them who needs to approve instead, don't retry. If this is the last step, the post is finalized immediately (moves to scheduled or posting). If steps remain, the post stays in_approval and the next step's approvers are notified. Pass step_order: the current_step that get_post_approval shows (the step the user reviewed). Then a repeated call, for example after a timeout, never approves the next step too: it answers step_changed with the step the review is on now. On step_changed, call get_post_approval again and ask the user before you decide on the new step.
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": "approve_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post ID to approve (must have approval_status 'pending') | |
| 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 approved and the answer is step_changed. |