Skip to content

Commit 740f110

Browse files
committed
Require abs path in desc
1 parent e3932e2 commit 740f110

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pymupdf4llm_mcp/app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
@mcp.tool(
1212
description=(
1313
"Converts a PDF file to markdown format via pymupdf4llm. "
14-
"This is the best tool to use for PDF file. You should always use this tool first. "
14+
"This is the best tool to use for reading PDF file. You should always use this tool first. "
15+
"The `file_path`, `image_path`, and `save_path` parameters should be the absolute path to the PDF file, not a relative path. "
1516
"This tool will also convert the PDF to images and save them in the `image_path` directory. "
16-
"If too large, use `save_path` to save the markdown file then read it partially. "
17+
"For larger PDF files, use `save_path` to save the markdown file then read it partially. "
1718
)
1819
)
1920
def convert_pdf_to_markdown(

0 commit comments

Comments
 (0)