List comments
list_commentsList comments with pagination. Filter by post and moderation status (approved, pending, spam) to manage site discussions.
Instructions
Lists comments, paginated. Optionally filter to a specific post (postId) and/or by moderation status (approved, pending, spam). Requires the comments:read scope.
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": "list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). Default: 1. | |
| postId | No | Filter to comments on a specific post. | |
| status | No | Filter by moderation status. | |
| perPage | No | Records per page, max 100. Default: 20. |