Skip to content

MarkItDown Tool

MarkItDown Tool lets an Agent convert a document stored in MinIO or S3 into Markdown text. Use it when the Agent needs to read files such as PDFs or office documents before answering a question or taking an action.

  • Category: Tool
  • Purpose: Converts documents stored in MinIO or S3 to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio and video (with transcription), and more than twenty other formats
  • Inputs: None (configured through fields)
  • Outputs: tool - Conversion tool for agents
  • Configuration:
  • MinIO Credential: Connection containing endpoint, access key, and secret key (required)
  • Bucket Name: Bucket holding the documents (required)
  • Default Object Key: Path to the document inside the bucket (required). The agent may override this when calling the tool
  • LLM Credential (Optional - For OCR/Audio): Required only for image OCR and audio transcription
  • LLM Base URL (Optional): Leave empty for the standard OpenAI API
  • LLM Model (Optional): Default openai/gpt-4o. Format depends on the provider — provider/model for OpenRouter, model name alone for OpenAI
  • Max File Size (MB): Default 100. Setting 0 removes the limit but is not recommended