fetch_posts
Retrieve posts from a WordPress site. Specify page number and posts per page to control pagination.
Instructions
Fetch posts from a WordPress site. Args: page (int): The page number to fetch. per_page (int): The number of posts per page. Returns: dict[str, Any]: The response from the WordPress API.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fetch_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No |