Generate cite keys
generate_cite_keysGenerate consistent citation keys from first author, year, and title word for BibTeX, RIS, or CSL JSON lists; duplicate keys get letter suffixes.
Instructions
Create consistent cite keys from the first author's family name, the year and the first meaningful word of the title, like smith2024deep. Repeated keys get a letter added. Returns the old and new key for each entry and the list as BibTeX with the new keys. Example: an entry with key old1, author "Smith, John", year 2024 and title "Deep Learning for Graphs" gives old_key old1 and new_key smith2024deep, or smith2024 when include_title_word is false.
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": {
"text": "<text>"
},
"name": "generate_cite_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The reference list as text: BibTeX, RIS or CSL JSON. | |
| format | No | The format of the text. Defaults to auto, which looks at the text to decide. | |
| show_bibtex | No | Also print the full entries with the new keys in the text reply, ready to paste into a .bib file. Defaults to false. | |
| include_title_word | No | Add the first meaningful title word, so you get smith2024deep and not smith2024. Defaults to true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| count | Yes | ||
| bibtex | Yes | The list as BibTeX using the new keys. |