apply_planset
Expands an experiment plan set into multiple output directories, each containing a cq.yaml and plan provenance. Returns schema or validation errors for invalid input.
Instructions
Expand ExperimentPlanSet members into N output directories, each with its own cq.yaml + plan provenance. Returns rejected envelope with reason='schema_invalid'|'validation_failed' on bad input.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply_planset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| force | No | ||
| planset | No | Inline ExperimentPlanSet dict. Minimal example: { "schema_version": 1, "id": "sweep-001", "intent": "lr sweep", "parent_run_id": "run_baseline", "plans": [ {"id": "exp-000", "changes": [ {"op": "set_config", "key": "lr", "value": 0.01}]}, {"id": "exp-001", "changes": [ {"op": "set_config", "key": "lr", "value": 0.001}]} ] } Required: id, plans (non-empty, each member is an ExperimentPlan). | |
| planset_file | No | Path to ExperimentPlanSet JSON file | |
| output_pattern | No | Pattern using {i} (zero-based index) and/or {plan_id} | runs/exp{i} |