Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
NANOLEAF_IP | Yes | IP address of your Nanoleaf device | |
NANOLEAF_PORT | No | Port for connecting to your Nanoleaf device | 16021 |
NANOLEAF_PROTOCOL | No | Protocol for connecting to your Nanoleaf device (http or https) | http |
NANOLEAF_AUTH_TOKEN | Yes | Authorization token for your Nanoleaf device |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_nanoleaf_info | Get information about the Nanoleaf device |
turn_on_nanoleaf | Turn on the Nanoleaf lights |
turn_off_nanoleaf | Turn off the Nanoleaf lights |
set_brightness | Set the brightness of the Nanoleaf lights |
set_color | Set the color of the Nanoleaf lights |
set_effect | Set an effect on the Nanoleaf lights |
get_effects | Get list of available effects |
discover_nanoleaf | Discover Nanoleaf devices on the network |
connect_to_ip | Connect to a Nanoleaf device at a specific IP address |
authorize_nanoleaf | Authorize connection to Nanoleaf device (device must be in pairing mode) |