Get a post or page
get_postRetrieve a single WordPress post or page by ID and return its content as plain text, so agents can read specific content without fetching the full site.
Instructions
Fetch one post or page by ID, with its content as plain text.
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": "get_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | No | posts |