lookup_gene
Look up a gene or genomic region: Ensembl records, cross-references, MyGene identifiers, UCSC assembly data, GTEx expression, or BioMart tables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | maximum records (1–20). | |
| query | Yes | a gene symbol or identifier (e.g. "BRCA2"), or a command such as "ensembl_lookup:BRCA2" or "ensembl_xrefs:ENSG00000139618". | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| source | Yes | which authority to ask. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | how many records came back, which is a result even when it is zero | |
| records | Yes | the records the authority returned, in its own field names — wire them into a tool that takes ids, or read them in the transcript | |
| envelope | Yes | the authority's whole answer: paging, totals and the query it actually ran | |
| provenance | Yes | the authority, the exact endpoints called and when — what makes an answer re-checkable without re-running it |