Approve posts
approve_postsApproves posts in this Xyla shop that are waiting for approval, by their IDs from pending_approvals. Each approved post takes the next free slot in the schedule; nothing publishes straight away. Posts in the shop's first batch cannot be approved one by one: use approve_first_batch for those.
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": {
"post_ids": "<post_ids>"
},
"name": "approve_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_ids | Yes | The IDs of the posts to approve, from pending_approvals. |