WhaleHarness/WhaleHarness--plugins-whale-shot ↗★ 0
whale-shot
使用无头浏览器对任意URL进行桌面或移动端截图 适合需要让AI智能体在会话中直接对网页进行截图并返回路径的任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WhaleHarness/WhaleHarness#d07689502452e8a04b18eba562e724f254928f07&path:plugins/whale-shot说明文档
阅读完整 README ↗Usage
装好后模型获得 whale_screenshot 工具,会话里说「截一下 https://whaleharness.com」,或直接调用:
whale_screenshot(url="https://whaleharness.com")
whale_screenshot(url="https://whaleharness.com", mobile=true) # 移动模拟(390x844@3x,触屏+移动 UA)
whale_screenshot(url="https://whaleharness.com", width=1920, height=1080) # 自定义视口
whale_screenshot(url="https://whaleharness.com", full_page=true) # 整页截图