export_markdown
Convert open Word documents to GitHub-Flavored Markdown and save to a file. Specify output path or use default export location.
Instructions
Export the open document as Markdown.
Converts the document body (headings, bold/italic runs, lists, tables, plain paragraphs) to GitHub-Flavoured Markdown and writes it to a file.
Args: output_path: Destination path for the .md file. Defaults to /export.md when empty.
Returns: {"output_path": str, "paragraphs": int, "tables": int}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |