Publish Post
publish_postPublish a draft WordPress post by providing its post ID to make it live immediately.
Instructions
Publish a draft post to WordPress (make it live).
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": "publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | The post ID to publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Use get_job to poll status |