get_comments
Retrieve threaded comments for a Hacker News story, with configurable depth and limit.
Instructions
Get comments on a Hacker News story (threaded, depth-limited)
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 | Max reply depth (max 5) | |
| limit | No | Max top-level comments to fetch (max 30) | |
| story_id | Yes | Hacker News story ID |