set_pwm
Control PWM frequency for IoT devices by sending integer values from 0 to 100 through MQTT protocol, enabling hardware adjustment via natural language commands.
Instructions
设置PWM频率,范围0-100
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": {
"frequency": "<frequency>"
},
"name": "set_pwm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frequency | Yes | PWM频率值(0-100) |