Word to Markdown
word_to_markdownConvert Word .docx files to Markdown for reading or reusing text, preserving headings, lists, tables, bold, italic, and links while returning the saved file path.
Instructions
Convert a .docx to a Markdown file (headings, lists, tables, bold and italic, links). Use this to read a Word file or reuse its text; use word_to_html to keep more of the look. Returns the saved path; the input is not changed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>"
},
"name": "word_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the file (absolute, or relative to the working directory). | |
| output | No | Where to save the result. Defaults to a new file next to the input. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Anything the output does not carry over from the input. | |
| summary | Yes | One line describing the result. | |
| written | Yes | Paths of the files written, in order. |