hn_get_story
Retrieve complete metadata for a Hacker News story using its ID, including title, URL, score, author, comment count, and more.
Instructions
Get full metadata for a single HN story by id.
Args: story_id: The HN item id.
Returns: Story dict with id, title, url, score, author, comments_count, posted_unix, hn_url, type, text. Returns {"error": "..."} if not found.
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": "hn_get_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| story_id | Yes |