gdelt_tonechart
Generate a sentiment histogram showing tone distribution for news articles matching a GDELT query. Apply time, domain, country, or language filters to isolate and compare sentiment patterns.
Instructions
Sentiment histogram for a GDELT query. Return a sentiment (tone) histogram for a query's matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of an absolute time window. Same formats as from. | |
| from | No | Start of an absolute time window. Accepts YYYY-MM-DD, RFC3339, or GDELT's raw YYYYMMDDHHMMSS. Cannot be combined with timespan. | |
| query | Yes | GDELT query string. Same syntax as gdelt-search's query. | |
| domain | No | Convenience domain filter, appended to the query as domain:VALUE. | |
| country | No | Convenience source-country filter, appended to the query as sourcecountry:VALUE. | |
| language | No | Convenience source-language filter, appended to the query as sourcelang:VALUE. | |
| timespan | No | Relative time window ending now, e.g. 1h, 2d, 1w, 3m. Cannot be combined with from/to. |