set_run_pinned
Pin or unpin a saved optimizer or scenario run to control its status. Idempotent operation ensures re-running the same state has no effect, making scripts safe to execute.
Instructions
Pin or unpin a saved optimizer or scenario run.
Declarative and idempotent: setting the current state again is a no-op, so scripts can safely re-run it.
Args: artifact: "optimizer" (run_id "opt_...") or "scenario" ("scn_..."). model_hash: Hash of the model the run belongs to. run_id: The run's stable id from run history. pinned: Desired pin state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | Yes | ||
| run_id | Yes | ||
| artifact | Yes | ||
| model_hash | Yes |