pulse_effect
Create a pulsing color effect on LIFX smart lights by cycling between colors with adjustable timing, brightness, and duration for dynamic lighting.
Instructions
Perform a pulse 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": "pulse_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | LIFX API token | |
| selector | No | Selector for filtering lights (default: 'all') | |
| color | Yes | Color to pulse | |
| 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) |