run_steps
Run several edits in one call. Give an ordered list of steps, each {tool, args} naming a tool you already have (1 to 25 steps). These can't be steps; call them on their own: run_steps, apply_look, crop_for_platform, product_shot, recolor, remove_object, photo_effect, make_carousel, make_story, make_meme, make_grid, make_sticker, my_looks, batch. Each step sees the image as the one before left it, and keeps the time limit its tool has on its own; the whole sequence has a time budget that is checked before each step starts. Use it when you already know the steps and do not need to look in between; for exploratory work, call the tools one at a time. on_error: stop (default) halts at the first failing step; continue records the failure and runs the rest; rollback takes a checkpoint first and, on a failure, restores it and checks the restore worked (the image then has a NEW id, given in the result). Rollback is refused up front if any step is one of: open_photo, new_canvas, close_photo, export_photo, checkpoint, request_upload, and needs every step to name the same image. return: summary (default) gives one line per step plus the last step's full result; full gives every step's full result. If the last step returns a preview image, it is shown with the result; earlier steps' images are dropped. The whole sequence counts as one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | The steps, in order. | |
| return | No | How much of each step's result to return. | summary |
| on_error | No | What to do when a step fails. | stop |