Rebuild with materials you own
rebuild_from_shelfUse this when the user asks what they can make with the materials they own, or wants a formula rebuilt using only their shelf: the app's Replace with materials I own, showing how the formula can stand entirely on the shelf (what stays, what a stand-in replaces, what has to go). Without apply it only shows the plan; with apply: true it rewrites the working copy in place (undo_last_change takes it back).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| formula | Yes | The formula: its id (from list_formulas) or its exact name. |