create_cortical_area
Create OPU, IPU, CUSTOM, or MEMORY cortical areas programmatically and configure placement, dimensions, and neuron properties without manual JSON editing.
Instructions
Create a new cortical area programmatically.
Use this to add OPU areas, IPU areas, or custom processing areas to the genome without manual JSON editing.
If the user asked for a "new circuit" as a named container in the brain map with no voxel geometry, they likely mean a brain region — use create_brain_region instead.
CUSTOM/MEMORY areas must live in a functionally named circuit. Workflow: decide the function (Sit, Walk CPG, OR Gate), create_brain_region with that title, then pass the new region_id here. Do not parent into Autogen Circuit.
Args:
name: Human-readable name (persisted in genome / BV). Use clear role- or circuit-based
names (e.g. OrGate_Input_A); do not prefix with Mcp/MCP (see docs NEW_TOOLS naming
policy).
cortical_type: "OPU", "IPU", "CUSTOM", or "MEMORY". MEMORY sends
sub_group_id: MEMORY on the custom-area endpoint. FEAGI uses that
field to assign a memory id (byte 0 m). A custom id is returned
as memory_area_not_created; delete that area before retrying.
dimensions: [width, height, depth] in voxels (for CUSTOM/MEMORY only)
position: [x, y, z] 3D coordinates
neurons_per_voxel: Number of neurons per voxel (default: 1)
device_count: Number of devices for IPU/OPU (default: 1)
properties: Optional additional properties (grp_id, etc.). Neuron parameters
(neuron_fire_threshold, neuron_post_synaptic_potential, neuron_refractory_period,
neuron_excitability, neuron_leak_coefficient, neuron_mp_charge_accumulation,
neuron_psp_uniform_distribution) are applied right after creation through the
update_cortical_area path; the result reports applied_properties and
rejected_properties.
brain_region_id: Parent brain region UUID for CUSTOM/MEMORY. Required. The parent
region's title must name the circuit function. Autogen Circuit / Untitled are
rejected — call create_brain_region first (e.g. title Sit, Walk CPG, OR Gate).
May use properties["brain_region_id"] instead.
skip_placement_validation: Set True only to bypass MCP checks: (1) anchors must be
at least 20 voxels from world origin (BV axis visibility), (2) anchors must be at
least 32 voxels from any existing area (label overlap in BV).
cortical_id: For OPU/IPU: type key like "opse", "isvi" (required for OPU/IPU)
group_id: For OPU/IPU: group identifier 0-255 (default: 0)
data_type_configs_by_subunit: For OPU/IPU: map of subunit index to config
e.g. {"0": 256, "1": 256, "2": 256} for 3-subunit servo with absolute+linear
per_device_dimensions: For OPU/IPU: override per-device dimensions [x,y,z]
e.g. [1, 1, 32] for single-joint servo with 32-angle resolution
Total X = per_device_dimensions[0] * device_count
Note:
FEAGI auto-places IPU/OPU areas, so position is frequently overridden. The result
carries a placement block reporting the requested vs actual coordinates and a
relocated flag. For IPU/OPU areas whose canonical wire id must match a sensorimotor
coder binding, prefer create_io_area_for_unit which derives the id for you.
Returns:
Created area info with cortical_id plus a placement summary.
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": {
"name": "<name>",
"cortical_type": "<cortical_type>",
"dimensions": "<dimensions>",
"position": "<position>"
},
"name": "create_cortical_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| group_id | No | ||
| position | Yes | ||
| dimensions | Yes | ||
| properties | No | ||
| cortical_id | No | ||
| device_count | No | ||
| cortical_type | Yes | ||
| brain_region_id | No | ||
| neurons_per_voxel | No | ||
| per_device_dimensions | No | ||
| skip_placement_validation | No | ||
| data_type_configs_by_subunit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||