iaqualink_set_light
Set a pool or spa light's brightness or color/show effect on iAqua systems, requiring confirmation before applying the change.
Instructions
Set a pool/spa light’s brightness (dimmable lights: 0, 25, 50, 75 or 100 %) or color/show effect (color lights — Jandy, Pentair, Hayward; the effect names are listed by iaqualink_get_status with view "full"). iAqua systems only. The current color cannot be read back from iAqualink, so an effect change is confirmed only by the light being on. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
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": {
"serial": "<serial>",
"aux": "<aux>"
},
"name": "iaqualink_set_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aux | Yes | The light’s aux number, aux_<n> name, or label | |
| effect | No | Color lights: an effect name (e.g. "Caribbean Blue") or its number | |
| serial | Yes | System serial number, from iaqualink_list_systems | |
| brightness | No | Dimmable lights: 0, 25, 50, 75 or 100 | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |