run-workflow-campaign
Launch optimizer-driven campaigns on a loaded workflow with BayBE, Ax, or NIMO, using defined parameters, objectives, constraints, batch size, and repeat iterations.
Instructions
Run the loaded workflow with optimizers
:param optimizer_type: Optimizer type in ["baybe", "ax", "nimo"]
:param parameters: List of parameter definitions [
{"name": "x1", "type": "range", "value": 10.0},
{"name": "x2", "type": "fixed", "bounds": [0.0, 10.0]},
{"name": "c1", "type": "choice", "values": ["A", "B", "C"]},
]
:param objectives: List of objective definitions [
{"name": "obj_1", "minimize": True},
{"name": "obj_2", "minimize": False},
]
:param repeat: Number of iterations
:param batch_size: Batch size
:param steps: Steps for each iteration {"step_1": {"model": "Sobol", "num_samples": 5}, "step_2": {"model": "BoTorch"}}
:param parameter_constraints: List of parameter constraints ["x1 + x2 <= 15.0"]
:param existing_data: Existing data filename, use `load-workflow-data` to get the filename from workflow 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": {
"optimizer_type": "<optimizer_type>"
},
"name": "run-workflow-campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| repeat | No | ||
| batch_size | No | ||
| objectives | No | ||
| parameters | No | ||
| existing_data | No | ||
| optimizer_type | Yes | ||
| parameter_constraints | No |