download_region_genome
Exports a brain-region subtree as a standalone, self-contained genome JSON, stripping mappings outside the branch so it can be loaded or shared independently.
Instructions
Download a brain-region subtree as a standalone genome JSON.
Exports only the cortical areas, morphologies, brain regions, and physiology that belong to the specified region branch. Destination mappings to areas outside the branch are stripped so the result is a self-contained genome that can be loaded independently or shared.
Use get_brain_regions first to discover available region IDs and
their titles.
Natural language: "export brain region", "save neural circuit", "download region as genome".
FEAGI lists every morphology of the brain in the export; by default only the
morphologies that a mapping rule of the exported areas, or of a mapping entering
the branch from outside, names are kept. Mappings entering the branch are cut by the
core export (they live in their source areas): they are listed in
export_notes.entering_mappings (inline) or entering_mappings (file_path) and
must be re-created when the region is merged.
Args:
region_id: UUID of the root brain region to export
(e.g. from get_brain_regions output).
prune_morphologies: Drop morphologies no exported mapping references
(default True); False returns the raw export.
file_path: Write the export to this file and return {file_path, bytes, summary}
instead of the inline JSON (about 25 KB for a small region); pass the path to
validate_genome(file_path=...).
Returns: Region genome JSON (same shape as a full genome download).
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": {
"region_id": "<region_id>"
},
"name": "download_region_genome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| region_id | Yes | ||
| prune_morphologies | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||