fetch_pages
Retrieve a paginated list of pages from any WordPress site via its REST API, specifying page number and number of pages per request.
Instructions
Fetch pages from a WordPress site. Args: page (int): The page number to fetch. per_page (int): The number of pages 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_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No |