ncbi_efetch
Fetch full NCBI records (sequences, genbank, etc.) by specifying database, IDs, and return format (xml, fasta, gb). Returns actual data in requested format.
Instructions
Fetch full records using efetch. Returns actual data (sequences, records, etc.)
Args:
database: NCBI database name (alias: db)
ids: IDs to fetch. Accepts either a list of strings
(e.g., ["123", "456"]) or a comma-separated string ("123,456").
rettype: Return type (xml, fasta, gb, etc.)
retmode: Return mode (text, xml, json where applicable)
db: Alias for database.
Returns: Response text in requested format
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| ids | No | ||
| rettype | No | xml | |
| retmode | No | text | |
| db | No |