breathe_effect
Create a breathing light effect on LIFX smart bulbs by cycling colors with adjustable duration, cycles, and brightness for dynamic ambiance.
Instructions
Perform a breathe effect
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": {
"token": "<token>",
"color": "<color>"
},
"name": "breathe_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | LIFX API token | |
| selector | No | Selector for filtering lights (default: 'all') | |
| color | Yes | Color to breathe | |
| from_color | No | Starting color | |
| period | No | Duration of one cycle in seconds | |
| cycles | No | Number of cycles | |
| persist | No | Persist the final color | |
| power_on | No | Turn on if off | |
| peak | No | Peak brightness (0.0 to 1.0) |