get_item_with_comments
Fetch one Hacker News item and a short comment tree from the official Firebase API. depth is 0 to 2 (default 2). Each level keeps at most 4 comments (default 3). Text is plain and truncated.
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": {
"id": "<id>"
},
"name": "get_item_with_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric Hacker News item id. | |
| depth | No | Comment depth. 0 returns the item only. Default 2, maximum 2. | |
| replies | No | Comments kept at each level. Default 3, maximum 4. |