set_fan_speed
Control a Bambu printer's part, auxiliary, or chamber fan speed by percentage, with optional confirmation during active prints.
Instructions
Set a Bambu printer fan speed percentage. X2D on macOS, or Linux with the native helper installed, uses Bambu's networking plug-in without UI automation; other models use MQTT.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fan": "<fan>",
"speed": "<speed>"
},
"name": "set_fan_speed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fan | Yes | Fan to control: part, auxiliary, right_auxiliary, chamber, 1, 2, 3, or 10 | |
| host | No | Hostname or IP of the printer (default: value from env) | |
| speed | Yes | Fan speed percentage from 0 to 100 | |
| bambu_token | No | Access token (default: value from env) | |
| bambu_serial | No | Serial number (default: value from env) | |
| confirm_during_print | No | Required for X2D fan changes while a print is running. |