Run GridCraft engine commands
run_gridcraft_commandsExecute ordered GridCraft engine commands and spreadsheet actions on new, sample, or opened workbooks; save results or drive the live app.
Instructions
Advanced: run any GridCraft engine commands in order (cell., home., insert., formulas., data., review., view., pageLayout., chart., table., pivot., sheet....) plus the engine tools write_range / read_range / set_cell / get_cell / evaluate_formula / format_range / insert_chart / create_table / sort_range / filter / select / inspect_workbook (step id = the tool name), on a new, sample or opened workbook, then save. Parameters can use "$steps[N].field" for a value returned by step N (0-based). With live=true the steps drive the open GridCraft app instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Drive the open GridCraft app (control port 7979) instead of a headless engine. | |
| name | No | gridcraft | |
| steps | No | ||
| sample | No | Start from a sample when there is no open_path. | |
| formats | No | Save the result (needs output_dir or output_path). | |
| open_path | No | Absolute workbook to open first (never saved over; save a copy with formats). | |
| overwrite | No | ||
| all_sheets | No | ||
| output_dir | No | ||
| output_path | No | ||
| stop_on_error | No |