Resolve CSL citation styles
zotero_stylesResolve human citation-style names to valid CSL style IDs and verify availability for bibliography formatting. List built-in aliases to find the correct style identifier.
Instructions
Resolve a human citation-style name to a valid CSL style id and confirm it is available, or list common style aliases. action: "resolve" maps names like "APA 7th", "IEEE", "Vancouver", "Chicago", "MLA", "Nature" to the correct CSL id (e.g. apa, ieee, modern-language-association) and verifies the style can be fetched; pass the returned styleId as the style argument to zotero_format_bibliography or zotero_bibliography. action: "list" returns the built-in common aliases (any id from the CSL styles repository also works). Dependent styles are resolved to their independent parent automatically when formatting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Style name to resolve (e.g. "APA 7th"). | |
| action | Yes | What to do: "resolve" maps `name` to a CSL style id and checks it can be fetched; "list" returns the built-in common aliases. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | The name that was resolved, echoed back. | |
| common | No | action:"list": the built-in style aliases. Any id from the CSL styles repository also works. | |
| styleId | No | The CSL style id it maps to, e.g. "apa"; pass it as `style` to the bibliography tools. | |
| available | No | Whether that style could actually be fetched. |