diagnose
To identify potential issues before scraping, checks the platform environment including Python, dependencies, Chrome, CDP ports, cookies, and recent errors. Performs local diagnostics without any actual scraping.
Instructions
诊断平台环境 — 检查 Python、依赖、Chrome、CDP 端口、Cookie、最近错误。
不做任何实际抓取,纯本地诊断。每项检查超时 5 秒。
Returns: sections: platform: {package_version, python_version} dependencies: {fastmcp: {installed, version}, curl_cffi: {...}, ...} browsers: {chrome: {found, path, version}, obscura: {found, path}} cdp_ports: {9222: {in_use}, 9247: {...}, 9251: {...}} cookies: 来自 check_all_cookies() 的结果 diagnostics: {recent_errors: [...]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||