restore-post
Restore a WordPress post from trash by giving its post ID. Recover the deleted post and bring it back to your content list.
Instructions
Restore a WordPress post from trash
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>"
},
"name": "restore-post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | ID of the post to restore |