load_profile
Loads a validated espresso recipe profile onto the machine as the active recipe for immediate use, with optional persistence via save_profile.
Instructions
Load a profile JSON onto the machine as the active recipe (temporary — use save_profile to persist). Validates the schema before sending. Profile JSON must include: name (string), id (UUID v4), author (string), author_id (UUID v4), temperature (number, Celsius), final_weight (number, yield grams), previous_authors ([]), variables ([]), version (1), stages (array). Each stage needs: name, key, type ("flow"|"pressure"), dynamics.points ([[time,value],...] starting at [0,x]), dynamics.over ("time"), dynamics.interpolation ("linear"|"curve"), exit_triggers (array). Last stage must exit on {type:"weight", value:}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Full profile JSON object to load onto the machine |