Revise Study Recipe
revise_study_recipeRevise a study recipe safely by supplying its current version, preventing stale overwrites. Create an immutable revision with optional linked source or content hash guard.
Instructions
Create an immutable revision. Earlier versions inherit influence automatically; optional source_revision_id additionally links a same-study source recipe. Optional expected_content_hash guards effective inputs (409 requires a fresh preview). Supply the current recipe version; stale edits are rejected (412). Reload list_study_recipes, reconcile changes, then submit the current version; never overwrite blindly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| reason | Yes | ||
| recipe_id | Yes | ||
| specification | Yes | Backend recipe envelope. api_mmm requires request; model_snapshot requires model_hash and is review-only. Unknown fields are forwarded for backend validation. | |
| expected_version | Yes | ||
| source_revision_id | No | ||
| expected_content_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||