Set Run Pinned
set_run_pinnedPin or unpin a saved optimizer or scenario run to control its visibility. Idempotent operation allows safe re-runs without side effects.
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.
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": {
"artifact": "<artifact>",
"model_hash": "<model_hash>",
"run_id": "<run_id>",
"pinned": "<pinned>"
},
"name": "set_run_pinned"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | Yes | ||
| run_id | Yes | ||
| artifact | Yes | ||
| model_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||