set_fan_speed
Set the speed of a specific fan on a Bambu Lab 3D printer by providing a percentage from 0 to 100.
Instructions
Set a Bambu printer fan speed percentage using the printer's MQTT fan command
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, chamber, 1, 2, or 3 | |
| host | No | Hostname or IP of the printer (default: value from env) | |
| speed | Yes | Fan speed percentage from 0 to 100 | |
| printer | No | Configured printer ID. Omit to use the default printer or the only configured printer. | |
| bambu_token | No | Access token (default: value from env) | |
| bambu_serial | No | Serial number (default: value from env) |