word_set_citation_style
Need to change citation style in your Word document? Set the CSL style and locale, then refresh to automatically reformat all in-text citations and the bibliography.
Instructions
Set which CSL style a Word document uses.
This writes Zotero's document-preferences fields. After running it, open the document in Word and click Zotero > Refresh: every citation and the bibliography reformat into the new style automatically.
Args: document_path: Path to the .docx file. style: CSL style id, e.g. "apa", "ieee", "vancouver". Use zotero_list_styles to browse. locale: e.g. "en-US", "ca-AD", "es-ES".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | ||
| locale | No | ||
| document_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||