aggregate_news
Aggregate and deduplicate similar news articles from multiple platforms into consolidated reports, showing cross-platform coverage and combined engagement metrics.
Instructions
跨平台新闻聚合 - 对相似新闻进行去重合并
将不同平台报道的同一事件合并为一条聚合新闻,显示跨平台覆盖情况和综合热度。
Args: date_range: 日期范围,不指定则查询今天 platforms: 平台ID列表,如 ['zhihu', 'weibo'],不指定则使用所有平台 similarity_threshold: 相似度阈值,0.3-1.0,默认0.7(越高越严格) limit: 返回聚合新闻数量,默认50 include_url: 是否包含URL链接,默认False
Returns: JSON格式的聚合结果,包含去重统计、聚合新闻列表和平台覆盖统计
Examples: - aggregate_news() - aggregate_news(similarity_threshold=0.8)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_range | No | ||
| platforms | No | ||
| similarity_threshold | No | ||
| limit | No | ||
| include_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |