dsh-pdf-reader
DSH PDF 读取插件:注册 read_pdf 工具,纯本地解析并提取工作区内的 PDF 文本。
AI 分析
核心用途是让 Agent 具备本地读取和解析 PDF 文件的能力。适合需要对工作区内的 PDF 文档进行摘要、问答和分析的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ralfsqual/dsh-pdf-reader说明文档
阅读完整 README ↗Usage / 使用
Tell the agent to read a PDF, or combine it with an @ file mention (e.g. via dsh-at-file):
Read @docs/spec.pdf and summarize the requirements.
读取 @docs/report.pdf 并总结要点。
Tool parameters
| Parameter | Type | Description |
|---|---|---|
path | string | PDF path, relative to the current working directory or an absolute path inside the workspace. / 相对当前工作目录或工作区内绝对路径 |
maxPages | number | Max pages to extract, default 500; 0 = no limit. / 最多提取页数 |
maxChars | number | Max characters to return, default 120000. / 最多返回字符数 |