search
Search Hacker News stories and comments by query, with filters for content type (all, story, comment) and pagination control.
Instructions
Search for stories and comments on Hacker News
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | The page number | |
| type | No | The type of content to search for | all |
| query | Yes | The search query | |
| hitsPerPage | No | The number of results per page |