Available ActionsEach successful request consumes credits as outlined below.
convert5cr
Details
Turn any file into clean, readable Markdown for Agentic workflows. Accepts, PDF, Word doc, Excel spreadsheet, PowerPoint, HTML page, image, or audio file and sends back structured Markdown text — ready for analysis, indexing, or feeding into your next workflow. Uses Microsoft's official MarkItDown package for premium results that AI Agents can parse and understand.
Use Cases
Convert PDF documents to Markdown, Extract text from Word documents, Convert Excel spreadsheets to readable Markdown, Parse PowerPoint presentations into text, Convert HTML pages to Markdown, Extract content from EPub files, Process ZIP archives of documents
STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections. This lightweight connector routes requests to https://api.agentpmt.com/mcp. All tool execution happens in the cloud and the server cannot edit any files on your computer.
npm install -g @agentpmt/mcp-routeragentpmt-setup
Actions(1)
convert5cr4 params
Convert a file to Markdown. Provide the file using exactly one of: url, file_id, or file_base64. Supports PDF, Word, Excel, PowerPoint, HTML, CSV, JSON, XML, images, audio, EPub, and ZIP. Max 50MB.
Convert a file to Markdown. Provide the file using exactly one of: url, file_id, or file_base64. Supports PDF, Word, Excel, PowerPoint, HTML, CSV, JSON, XML, images, audio, EPub, and ZIP. Max 50MB.
urlstring
Public URL or signed storage URL of the file to convert
file_idstring
File ID from the file upload tool
file_base64string
Base64-encoded file content
filenamestring
Original filename with extension (helps detect format when using file_base64)
Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your bearer token.
This tool supports credit-based access for external agents using AgentAddress identities or standard crypto wallets. External agents should use the External Agent API to buy credits with x402 and invoke this tool.
Usage guidance provided directly by the developer for this product.
MarkItDown
Convert files and URLs to Markdown using Microsoft's MarkItDown library. Supports PDF, Word (.docx), Excel (.xlsx), PowerPoint (.pptx), HTML, CSV, JSON, XML, images (PNG, JPG), audio (MP3, WAV -- transcription), EPub, ZIP archives, and plain text. Maximum file size: 50 MB.
Actions
convert
Convert a file to Markdown. Provide the file using exactly ONE of three input methods.
Required Parameters (one of):
url (string) -- Public URL or signed storage URL of the file to convert. The tool follows redirects and detects file format from the URL path or Content-Type header.
file_id (string) -- File ID from the AgentPMT file upload tool. The tool retrieves the file from cloud storage and uses the stored original filename to detect format.
file_base64 (string) -- Base64-encoded file content for direct inline submission.
Optional Parameters:
filename (string) -- Original filename including extension (e.g., "report.pdf"). Helps detect the correct format when using file_base64. Also useful when the URL or file_id does not clearly indicate the file type.
Response Fields:
action (string) -- Always "convert"
source (string) -- Input method used: "url", "file_id", or "file_base64"
markdown (string) -- The converted Markdown text content
length (integer) -- Character count of the Markdown output
Document analysis pipeline -- Upload a file using the file upload tool, then pass the returned file_id to MarkItDown to convert it to Markdown for further processing or summarization by an AI agent.
Web page to Markdown -- Provide a public URL of an HTML page to extract its content as clean Markdown, useful for archiving or content repurposing.
Spreadsheet data extraction -- Convert Excel or CSV files to Markdown tables for readable display or further data analysis.
Presentation content extraction -- Convert PowerPoint files to Markdown to extract slide content, speaker notes, and structure for review or repurposing.
Archive inspection -- Convert a ZIP file to get a Markdown listing/extraction of its contents.
Notes
Exactly one input method must be provided per request (url, file_id, or file_base64). Providing none will result in a validation error.
The maximum file size is 50 MB regardless of input method. Files exceeding this limit are rejected.
When using file_base64, providing filename with the correct extension significantly improves format detection accuracy.
When using url, the tool auto-detects format from the URL file extension first, then falls back to the HTTP Content-Type header.
For file_id input, the file must not be deleted or expired, and must belong to the same budget context.
Audio files (MP3, WAV) are transcribed to text and returned as Markdown.
Image files are processed for any text content (OCR-style extraction via MarkItDown).
If format cannot be determined, the file is treated as a binary file with extension .bin.
The conversion runs asynchronously on the server; large files may take longer to process.
Dependencies
3 dependencies will be automatically added when you enable this product.
Automatically redline any signed contract or agreement against its original and produce an exhaustive change report before counter-signing. Upload the returned signed document (PDF, DOCX, or scanned image), name the original stored in Google Drive (DOCX or native Google Doc), and the workflow OCRs the signed copy, locates and downloads the original from Drive, converts both to clean text, and surfaces every difference categorized by type: substantive wording and clause changes with section numbers and side-by-side quotes, filled-in fields such as parties, effective dates, dollar amounts, addresses, and signer names and titles, signature block label differences, DocuSign and other e-signature artifacts, OCR rendering artifacts to ignore, and shared typos worth fixing in the original. Built for legal contract review, NDA comparison, MSA and SOW intake, vendor agreement onboarding, employment offer letter audits, partnership and referral agreement review, sales contract redlining, real estate purchase agreement comparison, insurance policy diff, lease and rental agreement review, and any returned-document intake workflow where you need to know exactly what changed before filing or counter-signing. Eliminates manual side-by-side reading, accelerates legal and operations review cycles, and prevents accidental acceptance of unfavorable revisions hidden inside a returned signed document.
Looking for help integrating AI into your business? Set up a free consultation.
MarkItDown Hosted Markdown Generator by Apoth3osis | AgentPMT