ncbi_esummary
Fetch detailed NCBI summaries for supplied IDs and get structured JSON records after a search. Provide database and identifiers to retrieve the information you need.
Instructions
Fetch summary information for given IDs using esummary. Useful for getting detailed info after esearch.
RETURNS a text item holding the parsed JSON summary data. On a
missing/invalid database or empty ids it returns a single text item
whose message begins with "Error:" — check for that prefix before use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Alias for `database`. | |
| ids | No | IDs to fetch summaries for. Accepts either a list of strings (e.g., ["123", "456"]) or a comma-separated string ("123,456"). | |
| database | No | NCBI database name (alias: `db`) |