get_stories
Fetch Hacker News stories by category (top, new, Ask HN, Show HN) with optional count; returns metadata only, comments excluded.
Instructions
Browse HN stories by category. Returns metadata only (no comments).
Args:
category: One of: top, new, ask_hn, show_hn.
count: Number of stories to return (default 20, max 100).
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": {
"category": "<category>"
},
"name": "get_stories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| category | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |