Returns grouped topic bundles ranked by burst_score (with article_count as
tiebreaker), each with a representative title, top entities, and counts.
Clusters are formed by the BrunoSan news pipeline from daily article intake.
Best for: daily briefings, 'what happened in AI today?', trend detection.
Example queries:
- "What are today's trending AI topics?"
- "What were the top AI clusters on March 15th, 2026?"
- "Today's top 5 trending clusters — dominant entities and event types, not just headlines"
Args:
params (TrendingInput):
- date (str): Date YYYY-MM-DD, empty = latest available day
- limit (int): Number of clusters to return, default 10
Returns:
str: JSON with fields:
- date (str): Date used for query
- total_clusters (int): Available clusters for this day
- clusters (list): Each with cluster_id, label, topic, event_type,
article_count, burst_score, representative_title, source, url, top_entities