Import documents

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Merger MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-merger -- dnx GroupDocs.Merger.Mcp --yes
Folders, licensing and more →

GroupDocs.Merger for Python via .NET can put a whole file into another document: as an OLE object in a Word processing document, a spreadsheet, a presentation or a Visio diagram, or as an attachment of a PDF document. The file travels with the document, and the application that opens the document can open it.

Every import follows the same three steps:

  1. Create a Merger with the path to the target document.
  2. Call merger.import_document() with the options for the target format, which name the file to embed.
  3. Call merger.save() with the path of the result.

Import guides

API reference

See also