Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| tempfile_dir | No | The directory for temporary files used for URL support. PDFs from URLs are downloaded here. Default is ~/.pdf_tools_temp | ~/.pdf_tools_temp |
| workspace_path | Yes | The directory the tool can access. For security reasons, this tool can only access files within the specified workspace directory and cannot access files outside the workspace directory. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_pdf_pages | Read content from PDF file for specified page range. |
| get_pdf_info | Get basic information about a PDF file including page count. |
| merge_pdfs | Merge multiple PDF files into one. |
| extract_pdf_pages | Extract specific pages from a PDF and create a new PDF. |
| search_pdf_content | Search for regex pattern in PDF content and return paginated results. |
| search_pdf_next_page | Get next page of search results. |
| search_pdf_prev_page | Get previous page of search results. |
| search_pdf_go_page | Go to specific page of search results. |
| search_pdf_info | Get information about a search session. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |