get_comments
Retrieve WordPress comments filtered by post, status, or search to support moderation and content review.
Instructions
Retrieve WordPress comments with optional filtering by post, status, and search
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": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| post | No | Filter comments by post ID | |
| order | No | Sort order | |
| search | No | Search comments by content | |
| status | No | Comment status filter | |
| orderby | No | Order comments by field | |
| per_page | No | Number of comments per page (default: 10, max: 100) |