Approve From Preview
approve_post_from_previewApproves one post at an exact rev. Only the Approve button in Mark's post preview calls this, after a person clicks it. Agents never call it: to approve, use approve_posts, and only when the user has explicitly asked. Related: approve_posts, get_post.
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": {
"postId": "<postId>",
"rev": "<rev>"
},
"name": "approve_post_from_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | Yes | Exact rev the preview showed. | |
| postId | Yes | Post id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | ||
| approval | Yes |