Create, Update or Delete an Internet Time Rule
manage_internet_time_ruleCreate, update or delete a parental-control rule that limits one device to allowed online windows on chosen weekdays, blocking it outside those times.
Instructions
Create, change or delete an internet time rule (parental control). A rule is an ALLOWED online window for one device on chosen weekdays: once a device has rules, it is cut off outside all of its windows. Times are HH:mm in 15-minute steps; an end before the start runs past midnight. get_access_control lists the rules and their ids.
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": {
"action": "<action>",
"confirm": "<confirm>"
},
"name": "manage_internet_time_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The rule's id, as get_access_control lists it (update and delete only). | |
| action | Yes | 'create' a rule, 'update' or 'delete' the one with id. | |
| confirm | Yes | Must be true: the user explicitly asked for this change. | |
| enabled | No | false keeps the rule but stops applying it. | |
| endTime | No | When it closes, HH:mm in 15-minute steps; earlier than startTime runs past midnight. | |
| weekMask | No | Seven 0s and 1s for the days the window applies, Monday first: 1111100 is Monday to Friday. | |
| startTime | No | When the allowed window opens, HH:mm in 15-minute steps. | |
| macAddress | No | The device's MAC address (AA:BB:CC:DD:EE:FF), as list_terminal_topology gives it. | |
| ipv4Address | No | Instead of macAddress: the device's LAN IPv4 address, as list_terminal_topology gives it. |