Change a RouterOS item or setting
mikrotik_setModify RouterOS configuration item properties by path, using an ID or a where filter to target exactly one entry; omitting both updates singleton menus.
Instructions
Change properties of an item (/<path> set <id> ...). Identify the item by id (e.g. "*1F") or a where filter matching exactly one item. For singleton menus such as /system/identity, /ip/dns or /ip/cloud omit both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Item .id, e.g. "*1F". For most menus the item name also works. | |
| path | Yes | RouterOS menu path, e.g. "/ip/address", "/interface/bridge/port" or "ip firewall filter". | |
| where | No | Equality filters, e.g. {"type": "ether", "disabled": false}. | |
| device | No | Name of the configured device. Defaults to the first device (see mikrotik_list_devices). | |
| properties | Yes | Item properties as in the CLI, e.g. {"address": "10.0.0.1/24", "interface": "ether2"}. |