Skip to main content
Glama

effects_off

Stop active lighting effects on LIFX smart lights. Use this tool to disable animations, color cycles, or other dynamic patterns and return lights to static operation.

Instructions

Turn off any running effects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesLIFX API token
selectorNoSelector for filtering lights (default: 'all')
power_offNoAlso turn off the lights

Implementation Reference

  • Handler implementation for the 'effects_off' tool. Extracts parameters, constructs API request to /lights/{selector}/effects/off with optional power_off body, and returns success message with API response.
    case "effects_off": { const { token, selector = "all", power_off } = args as { token: string; selector?: string; power_off?: boolean; }; const body = power_off !== undefined ? { power_off } : {}; const result = await makeLIFXRequest(`/lights/${selector}/effects/off`, { method: "POST", body, token, }); return { content: [ { type: "text", text: `Effects turned off for selector "${selector}". ${JSON.stringify(result, null, 2)}`, }, ], }; }
  • src/index.ts:260-272 (registration)
    Registration of the 'effects_off' tool in the listTools handler, including name, description, and input schema definition.
    { name: "effects_off", description: "Turn off any running effects", inputSchema: { type: "object", properties: { token: { type: "string", description: "LIFX API token" }, selector: { type: "string", description: "Selector for filtering lights (default: 'all')" }, power_off: { type: "boolean", description: "Also turn off the lights" }, }, required: ["token"], }, },
  • Description of the 'effects_off' tool in the API documentation resource.
    9. **effects_off** - Turn off any running effects

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lenvolk/mcp-lifx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server