gcode_save_macro
Saves a G-code macro to the macros directory after running a safety check, validating and persisting the content for later execution.
Instructions
Save a G-code macro to the macros directory after running a safety check. Claude writes the G-code content; this tool handles validation and persistence. Use gcode_list_macros to see saved macros, gcode_run_macro to execute one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| gcode_content | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |