Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOG_LEVEL | No | 日志级别 (debug, info, warn, error) | |
REQUEST_TIMEOUT | No | HTTP 请求超时时间(毫秒) | |
PUPPETEER_TIMEOUT | No | Puppeteer 超时时间(毫秒) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
scrape_images | 从指定URL爬取网站上的所有图片并保存到本地 |
scrape_text | 从指定URL爬取网站的文本内容并保存为Markdown文件 |
list_images | 列出所有已下载的图片信息 |
list_texts | 列出所有已提取的文本文件 |
cleanup_images | 清理所有下载的图片文件 |
cleanup_texts | 清理所有提取的文本文件 |
get_scraping_status | 获取爬虫状态信息 |