queue_amalgamation_by_payload
Queues a full genome JSON payload for amalgamation and returns an amalgamation ID for confirmation.
Instructions
Queue an incoming genome for amalgamation (POST /v1/genome/amalgamation_by_payload).
genome_json must be a UTF-8 JSON string of the full genome document (same as
POST /v1/genome/upload), not a wrapped object. After success, poll
health_check for amalgamation_pending, then call
confirm_amalgamation_destination with the returned amalgamation_id and a
parent brain_region_id (typically brain_regions_root from health_check).
fit_plan (optional) sets the dimensions the guest's areas are created at, so they
are born at the right size on confirm (no later rebuild). Shape:
{"areas": [{"cortical_id": "<guest id, base64>", "dimensions": [x, y, z]}]}; every
dimension is at least 1, IO areas keep their size, and an invalid plan is refused (400)
with nothing queued. circuit_size reflects the fitted sizes. Without it the guest
is imported as published. The confirm call is the same either way.
Returns:
API response, usually message and amalgamation_id.
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": {
"genome_json": "<genome_json>"
},
"name": "queue_amalgamation_by_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit_plan | No | ||
| genome_json | Yes |