Context
The current docx tool (internal/tools/special/docx/) generates .docx files by wrapping markdown content using docxgo. In practice this produces documents that are essentially plain markdown wrapped in a Word container, without leveraging Word's native rich-text capabilities.
The tool has been disabled (removed from builtin.go) until a proper implementation is available.
What needs to be done
Current implementation
File: internal/tools/special/docx/docx.go
Uses: github.com/mmonterroca/docxgo/v2
The tool was registered in internal/tools/builtin/builtin.go — removed in the commit that created this issue.
Context
The current
docxtool (internal/tools/special/docx/) generates.docxfiles by wrapping markdown content usingdocxgo. In practice this produces documents that are essentially plain markdown wrapped in a Word container, without leveraging Word's native rich-text capabilities.The tool has been disabled (removed from
builtin.go) until a proper implementation is available.What needs to be done
Word Heading 1/2/3stylesunioffice,go-docx, or callingpandocas a subprocess when available)readaction that extracts text from existing.docxfiles (currently relies on docling-serve)builtin.goonce the output quality is acceptable.docxfilesCurrent implementation
File:
internal/tools/special/docx/docx.goUses:
github.com/mmonterroca/docxgo/v2The tool was registered in
internal/tools/builtin/builtin.go— removed in the commit that created this issue.