wp_get_post
Retrieve a single WordPress post by ID from a chosen site, with an option to include full content.
Instructions
Get a single post by ID
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": {
"site": "<site>",
"id": "<id>"
},
"name": "wp_get_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID | |
| site | Yes | Site id (see list_sites) | |
| content | No | Include full content |