file2markdown

v1.1.0
ai.file2markdown/file2markdown Checked 2 days ago Published 1 month ago

Convert docs and web pages to clean Markdown: PDF, DOCX, XLSX, EPUB, scans, URLs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

convert_url Convert URL to Markdown

Fetch a URL (web page, PDF, Office doc, and more) and convert it to Markdown. Works on publicly accessible URLs. Web pages are converted from their served HTML; JavaScript-rendered content may be incomplete. Optional filename_hint (e.g. "report.pdf") helps format detection when the URL has no file extension. The result carries a `quality` object (output-health check of the returned Markdown: status review / no_issues_detected / not_evaluated, coverage and a list of issues with line locations). quality_check="basic" (default) runs only local deterministic check…

ParameterTypeDescription
url *string
filename_hint
quality_checkstring

convert_base64 Convert file to Markdown

Convert base64-encoded file contents to Markdown. filename is required and drives format detection (e.g. "report.docx"). Intended for programmatic MCP clients; for anything with a URL, prefer convert_url. quality_check: "basic" (default) attaches local output-health checks in the `quality` field; "ai" additionally sends selected excerpts of the converted text to TypeSafe for narrow yes/no judgments. See convert_url.

ParameterTypeDescription
content_base64 *string
filename *string
quality_checkstring

convert_batch Convert several documents to Markdown

Convert 2-10 documents to Markdown in one call (Pro API key required). Each item is either {"url": ..., "filename_hint"?: ...} or {"content_base64": ..., "filename": ...}; types may be mixed. Items are converted in parallel and isolated: one bad URL or file never fails the batch — its slot returns ok:false with the error. The combined markdown shares one output budget, split evenly across items (per-item `truncated` flags apply). Set include_markdown=false to get only metadata + quality per item (health-check a folder without flooding your context). Anonymou…

ParameterTypeDescription
items *array
include_markdownboolean
quality_checkstring

list_supported_formats List supported formats

List supported input formats, per-tier limits, and which features need Pro. Single source of truth — do not claim capabilities beyond what this returns.

usage_status Check tier and remaining conversions

Check your tier and remaining conversions before burning a call.