get_supported_formats

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.Conversion 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-conversion -- dnx GroupDocs.Conversion.Mcp --yes
Folders, licensing and more →

get_supported_formats lists every target format the source document can be converted to, with primary/secondary indicators. Example prompt: “What formats can I convert sample.pptx to?”

Tool description (as the AI agent sees it):

Lists every target format the source document can be converted to, with primary/secondary indicators. Call this tool immediately whenever the user asks what formats they can convert a file to, what conversions are supported, or which output types are available for a given document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.

Parameters

NameTypeRequiredDescription
fileobjectyesThe source document — FileInput shape

Example call

{
  "name": "get_supported_formats",
  "arguments": { "file": { "filePath": "sample.pptx" } }
}

Result

A JSON list of target formats available for that document type, marked primary (typical conversions) or secondary. Agents often call this before convert when the user asks an open question (“what can I do with this file?”).

Example prompts

  • “What formats can I convert sample.pptx to?”
  • “Can this CAD drawing become a PDF?”
  • “List the output options for report.xlsx.”