set_ams_drying
Start or stop the AMS filament drying cycle on Bambu Lab 3D printers, supporting AMS units 0-3 and X2D AMS-HT id 128 via MQTT.
Instructions
Start or stop the AMS filament drying cycle. X2D on macOS uses the native official plug-in route and supports AMS-HT id 128.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP of the printer (default: value from env) | |
| action | Yes | Whether to start or stop the drying cycle | |
| ams_id | Yes | AMS unit index from 0 to 3, or 128 for an X2D AMS-HT. | |
| bambu_token | No | Access token (default: value from env) | |
| bambu_serial | No | Serial number (default: value from env) |