topic_trend
Track how often terms appear in Hacker News story titles over time, returning per-term counts and per-1,000-story rates to compare rise and fall across periods.
Instructions
How often each term appears in story titles over time (whole-word match, trailing * for prefix match).
Returns a per-term summary plus a compact table: one row per period with
the period's story total, then each term's matching-story count and that
count per 1,000 stories (comparable across periods).
Good for "rise and fall" charts, e.g. terms=["rust", "go", "zig"].
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": {
"terms": "<terms>"
},
"name": "topic_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| terms | Yes | ||
| until | No | ||
| granularity | No | year |