wp_list_comments
Retrieve paginated WordPress comments filtered by site, post, status, or page for moderation.
Instructions
List comments
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": {
"site": "<site>"
},
"name": "wp_list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| post | No | Filter by post ID | |
| site | Yes | Site id (see list_sites) | |
| status | No | Comment status | |
| per_page | No | Comments per page |