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".
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": {
"document_path": "<document_path>",
"style": "<style>"
},
"name": "word_set_citation_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | ||
| locale | No | ||
| document_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||