Skip to content
K

mm_export_doc

Export a doc to .docx (Word), Google Docs compatible HTML, or Slack mrkdwn format. For docx, saves to .mm/docs/exports/ and returns the file path. For gdocs/slack, returns the converted content string.

  • Category: Docs
  • Source: Built-in
  • Availability: Opt-in — set MM_TOOL_GROUPS=docs (always dispatchable by name)
  • Required parameters: 3
  • Total parameters: 3
ParameterTypeRequiredDescription
project_pathstringYesAbsolute path to the project root
doc_identifierstringYesDoc filename (e.g., ‘api-auth-guide-03-08-2026.md’) or title substring to match
formatstring (enum: docx, gdocs, slack)YesExport format: docx (Word document), gdocs (HTML for Google Docs), slack (Slack mrkdwn)
{
"tool": "mm_export_doc",
"arguments": {
"project_path": "/Users/you/projects/my-app",
"doc_identifier": "my-example",
"format": "docx"
}
}
  • mm_delete_doc - Delete a doc file and remove its entry from the docs.md dashboard. This is de…