zotero_cite_stub
Generate validated citation stubs referencing real Zotero items, preventing hallucinated references, then use them in .docx documents for live citation conversion.
Instructions
Generate validated citation stubs for use in documents. Each stub references a real Zotero item — if any key doesn't exist, the tool returns an error. Use these stubs in .docx documents, then run zotero_process_docx to convert them into live Zotero citations.
Stub format: {{CITE:KEY|lib=user:12345}} — simple citation {{CITE:KEY|lib=user:12345|p=42}} — with page locator {{CITE:KEY1;KEY2|lib=group:67890}} — grouped (multiple sources, one claim) {{CITE:KEY|lib=user:12345|prefix=see%20|suffix=%2C%20emphasis%20added}} — with prefix/suffix {{CITE:KEY|lib=user:12345|suppress-author}} — for narrative citations like "Brandom (2019) argues..." {{BIBLIOGRAPHY|lib=user:12345|style=apa}} — bibliography placeholder with document style
IMPORTANT: Always call this tool to get stubs instead of writing them by hand. This validates that every key exists in the user's Zotero library, preventing hallucinated references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| citations | Yes | Array of citations to generate stubs for | |
| bibliography | No | If true, also include a {{BIBLIOGRAPHY}} stub | |
| bibliographyStyle | No | CSL style for bibliography (e.g. 'chicago-author-date'). Default: apa |