get_index
Retrieve a PDF index and perform semantic search. Provide a query to return relevant pages, or omit to see all indexed pages.
Instructions
获取 PDF 文件索引,支持语义搜索
Args: file_path: PDF 文件的完整路径 query: 搜索查询(可选)。如果提供,返回最相关的页面;否则返回全部索引 top_k: 返回结果数量,默认 5(仅在有 query 时生效)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| top_k | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||