hn_item
One Hacker News story (or comment) by id with up to 30 top-level comments: author, time, plain text up to 500 characters and reply count. Price: $0.005 USDC per call, paid with x402 on Base.
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": "hn_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric Hacker News item id | |
| maxComments | No | 1-30, default 30 |