fetch_post_by_id
Retrieve a specific WordPress post by providing its ID. Returns post details from the REST API.
Instructions
Fetch a single post by ID from a WordPress site. Args: post_id (int): The ID of the post to fetch. Returns: dict[str, Any]: The response from the WordPress API.
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": "fetch_post_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes |