Literature Search
If the host already has lit_ plugin tools registered (lit_search/lit_cite/lit_bib/lit_related), you MUST prefer calling those tools directly. The CLI below is the fallback for hosts without the plugin.*
Run the bundled CLI (installed as dsh-lit-search, or npx dsh-lit-search):
dsh-lit-search [--json] search "<keywords>" [-n 10] [--from 2024] [--to 2025] [--sort citations|date|relevance]— merged Crossref+OpenAlex+Semantic Scholar searchdsh-lit-search [--json] cite <doi> [-s gbt7714|gbt7714-numeric|apa|bibtex]— format one citationdsh-lit-search [--json] bib <doi1> <doi2> ...— batch BibTeX entriesdsh-lit-search [--json] related <doi> [-n 10]— related works via OpenAlex
All commands print human-readable text by default; pass --json (before the
subcommand, e.g. dsh-lit-search --json search "<keywords>") for machine
output. Prefer --json when chaining results into files. GB/T 7714 is the
right default for Chinese-language theses.