config_set
Modify orchestrator configuration at runtime with instant effect. All changes are logged and applied to subsequent operations. Verify key names using config_get first.
Instructions
Update a live orchestrator configuration value at runtime. Changes take effect immediately for all subsequent operations and are written to the audit log — there is no undo. Returns {ok:true, key, value, previous} on success. Returns {ok:false, error:"Unknown config key..."} with a list of valid keys if the key is not recognised, or {ok:false, error:"..."} if value is not valid JSON. Call config_get first to read the current value and confirm the key name before updating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Config key to update (e.g. "maxParallelAgents", "defaultTimeout", "enableTracing") | |
| value | Yes | New value (JSON-encoded). E.g. "10" for a number, "true" for boolean, '"string"' for string. |