File size: 1,395 Bytes
fbd9d3d
cc826a1
fbd9d3d
bb96b1a
fbd9d3d
cc826a1
fbd9d3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb96b1a
 
fbd9d3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
  "name": "content",
  "version": "1.0.0",
  "description": "从小红书、微博 url 提取 content 内容并转换为可读格式",
  "author": "System",
  "ui_path": "/tool/content",
  "requirements": [],
  "enabled": true,
  "category": "content_extraction",
  "capabilities": ["content_extraction", "article_parsing"],
  "governance": {
    "status": "active",
    "handling_decision": "正常使用",
    "dependency_risk": null
  },
  "ui": {
    "type": "static"
  },
  "tools": [
    {
      "name": "extract_content",
      "display_name": "内容提取",
      "purpose": "从网页URL提取正文内容",
      "applies_to": ["网页正文提取", "文章内容获取"],
      "not_for": ["PDF文件提取", "图片内容识别"],
      "parameters": {
        "url": {
          "type": "string",
          "required": true,
          "description": "网页URL"
        }
      },
      "input_examples": [
        {"url": "https://www.xiaohongshu.com/explore/xxx"},
        {"url": "https://weibo.com/2194035935/5306186685749259"}
      ],
      "output_examples": [
        {"title": "文章标题", "content": "文章正文..."}
      ],
      "common_errors": [
        {
          "code": "INVALID_URL",
          "message": "无效的URL格式",
          "solution": "请检查URL是否以http://或https://开头"
        }
      ],
      "risk_level": "low"
    }
  ]
}