Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_pdf_text | 读取PDF文件并提取文本内容
Args:
file_path: PDF文件绝对路径(必须是绝对路径)
page_numbers: 要提取的页面号列表,如果为None则提取所有页面
extract_tables: 是否提取表格数据
Returns:
包含文本内容、页面信息等的字典 |
| get_pdf_info | 获取PDF文件的基本信息
Args:
file_path: PDF文件绝对路径(必须是绝对路径)
Returns:
包含PDF元数据信息的字典 |
| list_pdfs_in_directory | 列出指定目录下的所有PDF文件
Args:
directory_path: 目录绝对路径(必须是绝对路径)
Returns:
包含PDF文件列表的字典 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |