led_control
Control LED lights through MQTT by sending on/off commands to IoT devices from AI applications.
Instructions
控制LED开关
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": {
"state": "<state>"
},
"name": "led_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | LED状态(on/off) |