get_comments
Retrieve comments from JSONPlaceholder by post ID, comment ID, or fetch all comments for prototyping and testing.
Instructions
Get comments from JSONPlaceholder. Can retrieve all comments, a specific comment by ID, or comments for a specific post.
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 |
|---|---|---|---|
| id | No | Optional comment ID to retrieve a specific comment | |
| postId | No | Optional post ID to retrieve comments for a specific post |