get_news_by_location
Retrieve and summarize Google News articles for a specific location, customizable by time period and result count, with options for detailed data or concise insights.
Instructions
Find articles by location using Google News.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
full_data | No | Return full data for each article. If False a summary should be created by setting the summarize flag | |
location | Yes | Name of city/state/country. | |
max_results | No | Maximum number of results to return. | |
period | No | Number of days to look back for articles. | |
summarize | No | Generate a summary of the article, will first try LLM Sampling but if unavailable will use nlp |
Input Schema (JSON Schema)
{
"properties": {
"full_data": {
"default": false,
"description": "Return full data for each article. If False a summary should be created by setting the summarize flag",
"title": "Full Data",
"type": "boolean"
},
"location": {
"description": "Name of city/state/country.",
"title": "Location",
"type": "string"
},
"max_results": {
"default": 10,
"description": "Maximum number of results to return.",
"minimum": 1,
"title": "Max Results",
"type": "integer"
},
"period": {
"default": 7,
"description": "Number of days to look back for articles.",
"minimum": 1,
"title": "Period",
"type": "integer"
},
"summarize": {
"default": true,
"description": "Generate a summary of the article, will first try LLM Sampling but if unavailable will use nlp",
"title": "Summarize",
"type": "boolean"
}
},
"required": [
"location"
],
"type": "object"
}