wp_get_post
Need a specific WordPress post? Provide its ID to retrieve the full post data via the WP REST API.
Instructions
Get a single WordPress 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": {
"id": "<id>"
},
"name": "wp_get_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |