fetch_ensembl_sequence
Fetch a gene's reference sequence from Ensembl and store it.
Returns a handle ({ref, name, length, preview, ...}). Pass the
`ref` to predict_* tools — the bases stay server-side. For
expression, use fetch_gene_for_expression instead (it prepares
the TSS-centred window that model needs).
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": {
"gene": "<gene>"
},
"name": "fetch_ensembl_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gene | Yes | Gene symbol (e.g. 'TP53') or Ensembl ID. | |
| species | No | Species name, e.g. 'human', 'mouse'. | human |
| flank_bp | No | Extra bp added on each side of the gene body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||