optimize_construct_genetic
Run seeded genetic-style search over supplied candidates to balance construct size, coverage, redundancy, and manufacturability, returning a computed construct proposal for final-ranked arrangements.
Instructions
Run seeded genetic-style search over supplied candidates to balance construct size, coverage, redundancy, and manufacturability terms. Use after final ranking when searching construct arrangements; use optimize_shortlist_coverage for simpler deterministic shortlist selection. Returns a computed proposal, not a validated vaccine construct.
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": {
"runId": "<runId>",
"finalRankingSnapshotHash": "<finalRankingSnapshotHash>",
"candidates": "<candidates>",
"populationIds": "<populationIds>",
"maximumGenerations": "<maximumGenerations>",
"populationSize": "<populationSize>",
"maximumConstructSize": "<maximumConstructSize>",
"targetCoverage": "<targetCoverage>",
"linker": "<linker>"
},
"name": "optimize_construct_genetic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Caller-chosen identifier linking this call to one research run. | |
| linker | Yes | Peptide linker sequence used when assembling construct proposals. | |
| candidates | Yes | Caller-supplied candidate records; required nested fields depend on this operation. | |
| populationIds | Yes | Population identifiers requested from the coverage source or synthetic dataset. | |
| populationSize | Yes | Number of candidate construct genomes per optimization generation. | |
| targetCoverage | Yes | Desired population coverage fraction used by optimization. | |
| populationWeights | No | Caller-supplied weights for combining named population coverage values. | |
| maximumGenerations | Yes | Maximum optimization generations before returning a proposal. | |
| maximumConstructSize | Yes | Upper limit on construct size for genetic-style search. | |
| finalRankingSnapshotHash | Yes | SHA-256 identity of the final ranking snapshot supplying these candidates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |