wp_list_comments
Retrieve comments for WordPress posts. Use post ID to filter results and per_page to control comment count.
Instructions
List comments on WordPress posts. Filter by post ID.
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": "wp_list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | No | Filter by post ID | |
| per_page | No | Number of comments to return |