EBI Search: get whole entries by ID
ebi_ebisearch_get_entries_by_idRetrieve full entries from one EMBL-EBI database by ID when you need complete, unshortened text, with follow-up calls for omitted entries or continued fields.
Instructions
Get whole entries from one EMBL-EBI database ("domain") by their IDs.
Use this for the few entries needed to answer the question: when
ebi_ebisearch_get_matching_entries shortened their text (fields_shortened), or
when the question gives an entry ID. Text is never shortened.
Very long answers come in parts. Entries that did not fit are listed in
not_included: ask for them in another call. A field whose text
continues is listed in the entry's fields_continued: to read on, call
again with that entry's ID only, field and start. IDs that do not
exist in the domain are listed in not_found. Cross-references to
other databases are not included: ebi_ebisearch_get_cross_references
follows them.
When answering from these entries, name the domain and entry IDs used (e.g. UniProt P42212), with their links.
Limits: up to 20 IDs; at most 25,000 characters of text in one answer; the rest is listed in not_included or fields_continued; at most 30 tool calls a minute from one caller; above that, wait the seconds the error gives.
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": {
"domain": "<domain>",
"ids": "<ids>"
},
"name": "ebi_ebisearch_get_entries_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Entry IDs (accessions) from that domain, e.g. ['P38398', 'P04637'], at most 20. Prefixed IDs for the domain work too, e.g. 'uniprot:P38398'. | |
| field | No | Only to read on in a long field: the field ID from an entry's `fields_continued`, with that entry's ID as the only ID. | |
| start | No | Only with `field`: the position to read on from, as given in `fields_continued`. | |
| domain | Yes | ID of the domain the entries are in, e.g. 'uniprot'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cite | No | How to cite the entries in this answer, with an example. Null when there are no entries. | |
| notes | Yes | Anything else to know about this answer. | |
| domain | Yes | Domain ID, e.g. 'uniprot'. | |
| source | No | Where this answer came from, and when. | |
| status | No | 'ok' when everything asked for is answered; 'partial' when part is missing from this answer: IDs in `not_found`, entries in `not_included`. Read those before answering. | ok |
| entries | Yes | The entries, in the order requested. | |
| release | No | Which release of this domain's data was searched, its date, and the database's home page (for its licence and citation); null when EBI Search gives none. | |
| not_found | Yes | Requested IDs that do not exist in this domain. They may exist in another domain. | |
| domain_name | Yes | Readable name, e.g. 'UniProtKB'. | |
| not_included | Yes | Requested IDs that exist but did not fit in this answer. Ask for them in another call. | |
| field_descriptions | Yes | What each field in these entries means, as described by EBI Search. |