insert_citations
Insert live Zotero citation field codes into an existing Word document by replacing [@ITEM_KEY] markers, preserving formatting, styles, images, and layout.
Instructions
Insert live Zotero citation field codes into an existing Word document. Finds [@ITEM_KEY] markers in the .docx and replaces them with Zotero field codes. Use this to add citations to a document the user already has; to create a NEW .docx from markdown instead, use write_cited_document. Preserves existing formatting, styles, images, and layout.
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>"
},
"name": "insert_citations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | ||
| document_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |