retrieve_post
Retrieve all metadata of a WordPress post by its ID, supporting view, embed, and edit contexts.
Instructions
Retrieve all metadata of a post in WordPress site.
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_id": "<post_id>"
},
"name": "retrieve_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | The context of the post - default: view | view |
| post_id | Yes | The ID of the post | |
| password | No | Password for protected posts - default: None |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||