update_feeder_setting
Update a PetKit feeder setting by specifying device ID, setting key, and numeric value—controls child lock, indicator light, feed tone, or food shortage alarm.
Instructions
Change a numeric setting on a feeder. Common keys: manualLock (child lock, 0/1), lightMode (indicator light), feedSound (dispense tone, 0/1), foodWarn (shortage alarm, 0/1). Other numeric keys the device reports (see list_feeders) may also work but are unconfirmed.
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": {
"deviceId": "<deviceId>",
"key": "<key>",
"value": "<value>"
},
"name": "update_feeder_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Setting key, e.g. "manualLock" | |
| value | Yes | New value for the setting | |
| deviceId | Yes | Numeric device ID (from list_feeders) |