zotero_process_docx
Replace {{CITE:...}} stubs in a .docx file with live Zotero field codes, fetching item data from Zotero and writing the output. Open in Word and refresh to activate citations.
Instructions
Process a .docx file to convert {{CITE:...}} stubs into live Zotero field codes. This directly edits the .docx XML to produce the exact field structure Zotero expects. After processing, open the file in Word and click Zotero > Refresh.
Give this tool the file path and it does everything: fetches item data from Zotero, builds field codes, writes the output. Fire and forget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputPath | Yes | Path to the .docx file with citation stubs | |
| outputPath | No | Output path (defaults to overwriting the input file) |