gdelt_timeline
Return GDELT global-news timeline series for required query, using the same operators as gdelt_search. metric selects coverage share (volume), matching count (volume_raw), average tone, or country/language series. Use relative timespan or absolute from/to, not both; use gdelt_tonechart for a tone histogram.
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. Required. | |
| domain | No | Convenience domain filter, appended to query as domain:VALUE. | |
| metric | No | Timeline metric. Allowed values: volume (default, coverage as %% of all monitored articles), volume_raw (actual matching article count), tone (average sentiment, negative to positive), lang (coverage volume broken down by source language), country (coverage volume broken down by source country). lang and country return one series per language/country instead of one aggregate series. | |
| smooth | No | Moving-window smoothing applied to the timeline, 0-30 steps. 0 (default) disables smoothing. | |
| country | No | Convenience source-country filter, appended to query as sourcecountry:VALUE. | |
| language | No | Convenience source-language filter, appended to query as sourcelang:VALUE. | |
| timespan | No | Relative time window ending now, e.g. 1h, 2d, 1w, 3m. Cannot be combined with from/to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |