get_comments
Retrieve threaded comments for a Hacker News story, with indentation indicating reply depth and automatic filtering of dead or deleted comments.
Instructions
Get threaded comments for a Hacker News story. Returns comments with indentation showing reply depth. Skips dead and deleted 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": {
"story_id": "<story_id>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Maximum reply depth to fetch (1-5). Default: 3 | |
| limit | No | Maximum total comments to return (1-100). Default: 30 | |
| story_id | Yes | The HN story ID to get comments for |