trigger_crawl
Manually start a crawl of trending news from selected platforms or all supported sources, optionally saving results locally or including URLs for later analysis.
Instructions
手动触发一次爬取任务(可选持久化)
Args: platforms: 平台ID列表,如 ['zhihu', 'weibo'],不指定则使用所有平台 save_to_local: 是否保存到本地 output 目录,默认 False include_url: 是否包含URL链接,默认False(节省token)
Returns: JSON格式的任务状态信息,包含成功/失败平台列表和新闻数据
Examples: - trigger_crawl(platforms=['zhihu']) - trigger_crawl(save_to_local=True)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trigger_crawl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platforms | No | ||
| include_url | No | ||
| save_to_local | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |