HN Algolia Item Details
hnalgolia.item.detailsFetch full details for any HackerNews item by integer ID using the Algolia API — returns type, title, URL, author, score, body text, creation time, and the top 5 child comments. Works for stories, Ask HN, Show HN, comments, jobs, and polls. No auth required. Data: Hacker News (CC BY 3.0).
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": "hnalgolia.item.details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | HackerNews item ID (positive integer). Works for stories, comments, Ask HN, Show HN, jobs, and polls. Example: 48713832. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |