| { | |
| "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" | |
| } | |
| ] | |
| } | |