fourget_news_search
Search for recent news articles using the 4get meta search engine to find titles, URLs, descriptions, publication dates, and thumbnails with pagination support.
Instructions
Search for news articles using the 4get meta search engine. Returns recent news with titles, URLs, descriptions, publication dates, and thumbnails. Supports pagination via the 'npt' token.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra_params | No | ||
| page_token | No | ||
| query | Yes |
Implementation Reference
- src/server.py:174-184 (handler)The main handler function for the fourget_news_search tool, which delegates to the client's news_search method with combined options.async def fourget_news_search( query: str, page_token: str | None = None, engine: EngineParam = None, extra_params: dict[str, Any] | None = None, ) -> dict[str, Any]: return await client.news_search( query=query, page_token=page_token, options=combine_options(engine, extra_params), )
- src/server.py:166-173 (registration)Registers the fourget_news_search tool with name and description using the @register_tool decorator.@register_tool( name='fourget_news_search', description=( 'Search for news articles using the 4get meta search engine. Returns ' 'recent news with titles, URLs, descriptions, publication dates, and ' "thumbnails. Supports pagination via the 'npt' token." ), )