Reference

searchGoogleNews

Search Google News for recent news articles matching a query.
mindstudio.searchGoogleNews({ text, exportType }) → Result

Searches Google News for recent articles matching a query.

Parameters
text
string
RequiredThe news search query
exportType
string
RequiredFormat for the variable value: "text" or "json"
textjson
numResults
number
Number of results to return (1-100, default: 30)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.searchGoogleNews({
  text: /* ... */,
  exportType: /* ... */
});