ClockNext: update outcome
clocknext_update_outcomeReplace an outcome by ID with a complete new definition, recalculating each step's price from its model mixer. Omitted steps or fields are dropped—fetch the current outcome first.
Instructions
Replace an outcome by id with its COMPLETE new definition — a full rewrite, NOT a partial patch (omitted steps/fields are dropped). Each step's price is re-grounded from its models mixer (same as create). Read the current outcome with clocknext_get_outcome first. Step agent keys are the runtime binding — change them deliberately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The outcome id to update. | |
| name | Yes | Outcome name. | |
| steps | Yes | 1–50 steps; each grounded by its own model mixer. Step names and agent keys must each be unique. | |
| isActive | No | Whether the outcome is active/sellable. | |
| description | No | Optional human-readable description. | |
| marginPercent | Yes | Markup over the summed step base costs, as a percent (e.g. 100 = double = pricePerOutcome). |