convert_to_markdown
Read a document and return its Markdown text, with support for PDFs (layout, tables, OCR), Word, PowerPoint, Excel, HTML, EPUB, email, images, and audio. Use when Markdown is all you need.
Instructions
Read a document as Markdown, with default settings, and return the
Markdown text. Handles PDF (layout analysis, tables, OCR for scans),
Word, PowerPoint, Excel, HTML, EPUB, e-mail, images, audio and more.
Use this whenever Markdown is all you need. Use convert instead for
another output format (docling JSON, HTML, RAG chunks, …), embedded
images, or options such as a page range, OCR language or password.
Fails with a message when the document is missing, outside the
server's root, of an unsupported type (see list_input_formats), or
a URL while URL fetching is off. Read-only. Same name and contract as
MarkItDown's MCP tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The document to read: an http: or https: URL (only when the server allows URL fetching — see list_input_formats), a file: URI, a data: URI, or a file path. Relative paths resolve against the server's root; files outside it are refused. |