hackernews: Search
hackernews_searchSearch. Hacker News stories and comments matching a search, newest first. Points and comment counts are given for stories; comments come back as plain text with their item page as the URL. Costs 1 credit.
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": {
"query": "<query>"
},
"name": "hackernews_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | `story`, `comment`, or `all` for both | all |
| query | Yes | Search text | |
| cursor | No | `pagination.cursor` from a previous response | |
| cache_max_age | No |