@usex/mikrotik-mcp 6.11.0 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +15 -2
- package/dist/index.js +1 -1
- package/dist/shared/{cli-xkhmxe9c.js → cli-cbs63p0r.js} +334 -142
- package/dist/shared/{cli-vrfw477g.js → cli-frg1ynaw.js} +1 -1
- package/dist/shared/{cli-p3rfcsg3.js → cli-rbe7s4mf.js} +1 -1
- package/dist/shared/{cli-n6heg9q6.js → cli-s9k59ne8.js} +1 -1
- package/dist/shared/{cli-xgyy9he1.js → cli-zhfcf33s.js} +1 -1
- package/dist/shared/{library-zwdxcca2.js → library-5qaxx124.js} +1 -1
- package/dist/shared/{library-y783969c.js → library-9sjsjtd1.js} +1 -1
- package/dist/shared/{library-w2eyfdqz.js → library-he7xy22v.js} +332 -141
- package/dist/shared/{library-dc9pv2hm.js → library-je5saqvp.js} +1 -1
- package/dist/shared/{library-qx9hax3s.js → library-vtet3w1h.js} +1 -1
- package/dist/ui/observability.html +69 -69
- package/package.json +20 -16
- package/schemas/devtools-manifest.json +1 -1
- package/schemas/tool-catalog.json +381 -8
- package/schemas/tools/apply_plan.json +6 -1
- package/schemas/tools/update_bfd_configuration.json +8 -0
- package/schemas/tools/update_bgp_connection.json +8 -0
- package/schemas/tools/update_bridge.json +8 -0
- package/schemas/tools/update_dns_static.json +8 -0
- package/schemas/tools/update_dot1x_client.json +8 -0
- package/schemas/tools/update_dot1x_server.json +8 -0
- package/schemas/tools/update_filter_rule.json +8 -0
- package/schemas/tools/update_igmp_proxy_interface.json +8 -0
- package/schemas/tools/update_ip_pool.json +8 -0
- package/schemas/tools/update_ipsec_peer.json +8 -0
- package/schemas/tools/update_ipsec_profile.json +8 -0
- package/schemas/tools/update_ipsec_proposal.json +8 -0
- package/schemas/tools/update_ipv6_filter_rule.json +8 -0
- package/schemas/tools/update_ipv6_mangle_rule.json +8 -0
- package/schemas/tools/update_ipv6_nat_rule.json +8 -0
- package/schemas/tools/update_ipv6_nd.json +8 -0
- package/schemas/tools/update_ipv6_pool.json +8 -0
- package/schemas/tools/update_ipv6_raw_rule.json +8 -0
- package/schemas/tools/update_mangle_rule.json +8 -0
- package/schemas/tools/update_nat_rule.json +8 -0
- package/schemas/tools/update_ospf_instance.json +8 -0
- package/schemas/tools/update_ovpn_server.json +8 -0
- package/schemas/tools/update_ppp_profile.json +8 -0
- package/schemas/tools/update_ppp_secret.json +8 -0
- package/schemas/tools/update_queue_interface.json +8 -0
- package/schemas/tools/update_queue_tree.json +8 -0
- package/schemas/tools/update_queue_type.json +8 -0
- package/schemas/tools/update_radius_server.json +8 -0
- package/schemas/tools/update_rip_instance.json +8 -0
- package/schemas/tools/update_route.json +8 -0
- package/schemas/tools/update_routing_filter_rule.json +8 -0
- package/schemas/tools/update_routing_id.json +8 -0
- package/schemas/tools/update_routing_rule.json +8 -0
- package/schemas/tools/update_routing_table.json +8 -0
- package/schemas/tools/update_rpki_session.json +8 -0
- package/schemas/tools/update_simple_queue.json +8 -0
- package/schemas/tools/update_switch.json +8 -0
- package/schemas/tools/update_switch_port.json +8 -0
- package/schemas/tools/update_switch_port_isolation.json +8 -0
- package/schemas/tools/update_switch_rule.json +8 -0
- package/schemas/tools/update_traffic_monitor.json +8 -0
- package/schemas/tools/update_user_manager_user.json +8 -0
- package/schemas/tools/update_vlan_interface.json +8 -0
- package/schemas/tools/update_wireguard_interface.json +8 -0
- package/schemas/tools/update_wireguard_peer.json +8 -0
- package/schemas/tools/update_wireless_interface.json +8 -0
- package/scripts/service.ts +618 -0
- package/scripts/upgrade.ts +7 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
5
|
"toolCount": 983,
|
|
6
6
|
"tools": [
|
|
@@ -2785,6 +2785,14 @@
|
|
|
2785
2785
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2786
2786
|
"type": "object",
|
|
2787
2787
|
"properties": {
|
|
2788
|
+
"unset": {
|
|
2789
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
2790
|
+
"type": "array",
|
|
2791
|
+
"items": {
|
|
2792
|
+
"type": "string",
|
|
2793
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
2794
|
+
}
|
|
2795
|
+
},
|
|
2788
2796
|
"name": {
|
|
2789
2797
|
"type": "string",
|
|
2790
2798
|
"description": "Current name of the VLAN interface to update"
|
|
@@ -3193,6 +3201,14 @@
|
|
|
3193
3201
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3194
3202
|
"type": "object",
|
|
3195
3203
|
"properties": {
|
|
3204
|
+
"unset": {
|
|
3205
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
3206
|
+
"type": "array",
|
|
3207
|
+
"items": {
|
|
3208
|
+
"type": "string",
|
|
3209
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3196
3212
|
"name": {
|
|
3197
3213
|
"type": "string",
|
|
3198
3214
|
"description": "Current name of the bridge to update"
|
|
@@ -4194,6 +4210,14 @@
|
|
|
4194
4210
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4195
4211
|
"type": "object",
|
|
4196
4212
|
"properties": {
|
|
4213
|
+
"unset": {
|
|
4214
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
4215
|
+
"type": "array",
|
|
4216
|
+
"items": {
|
|
4217
|
+
"type": "string",
|
|
4218
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
4219
|
+
}
|
|
4220
|
+
},
|
|
4197
4221
|
"name": {
|
|
4198
4222
|
"type": "string"
|
|
4199
4223
|
},
|
|
@@ -4797,6 +4821,14 @@
|
|
|
4797
4821
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4798
4822
|
"type": "object",
|
|
4799
4823
|
"properties": {
|
|
4824
|
+
"unset": {
|
|
4825
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
4826
|
+
"type": "array",
|
|
4827
|
+
"items": {
|
|
4828
|
+
"type": "string",
|
|
4829
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
4830
|
+
}
|
|
4831
|
+
},
|
|
4800
4832
|
"switch_id": {
|
|
4801
4833
|
"type": "string",
|
|
4802
4834
|
"description": "Switch name (e.g. 'switch1') or RouterOS '.id'"
|
|
@@ -4896,6 +4928,14 @@
|
|
|
4896
4928
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4897
4929
|
"type": "object",
|
|
4898
4930
|
"properties": {
|
|
4931
|
+
"unset": {
|
|
4932
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
4933
|
+
"type": "array",
|
|
4934
|
+
"items": {
|
|
4935
|
+
"type": "string",
|
|
4936
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
4937
|
+
}
|
|
4938
|
+
},
|
|
4899
4939
|
"port_id": {
|
|
4900
4940
|
"type": "string",
|
|
4901
4941
|
"description": "Port name (e.g. 'ether1') or RouterOS '.id'"
|
|
@@ -5008,6 +5048,14 @@
|
|
|
5008
5048
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5009
5049
|
"type": "object",
|
|
5010
5050
|
"properties": {
|
|
5051
|
+
"unset": {
|
|
5052
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
5053
|
+
"type": "array",
|
|
5054
|
+
"items": {
|
|
5055
|
+
"type": "string",
|
|
5056
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
5057
|
+
}
|
|
5058
|
+
},
|
|
5011
5059
|
"isolation_id": {
|
|
5012
5060
|
"type": "string",
|
|
5013
5061
|
"description": "Source port name or RouterOS '.id'"
|
|
@@ -5227,6 +5275,14 @@
|
|
|
5227
5275
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5228
5276
|
"type": "object",
|
|
5229
5277
|
"properties": {
|
|
5278
|
+
"unset": {
|
|
5279
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
5280
|
+
"type": "array",
|
|
5281
|
+
"items": {
|
|
5282
|
+
"type": "string",
|
|
5283
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
5284
|
+
}
|
|
5285
|
+
},
|
|
5230
5286
|
"rule_id": {
|
|
5231
5287
|
"type": "string"
|
|
5232
5288
|
},
|
|
@@ -5600,6 +5656,14 @@
|
|
|
5600
5656
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5601
5657
|
"type": "object",
|
|
5602
5658
|
"properties": {
|
|
5659
|
+
"unset": {
|
|
5660
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
5661
|
+
"type": "array",
|
|
5662
|
+
"items": {
|
|
5663
|
+
"type": "string",
|
|
5664
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
5665
|
+
}
|
|
5666
|
+
},
|
|
5603
5667
|
"name": {
|
|
5604
5668
|
"type": "string"
|
|
5605
5669
|
},
|
|
@@ -5865,6 +5929,14 @@
|
|
|
5865
5929
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5866
5930
|
"type": "object",
|
|
5867
5931
|
"properties": {
|
|
5932
|
+
"unset": {
|
|
5933
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
5934
|
+
"type": "array",
|
|
5935
|
+
"items": {
|
|
5936
|
+
"type": "string",
|
|
5937
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
5938
|
+
}
|
|
5939
|
+
},
|
|
5868
5940
|
"route_id": {
|
|
5869
5941
|
"type": "string",
|
|
5870
5942
|
"description": "\"*N\" or \"N\" from list output e.g. \"*3\""
|
|
@@ -6038,7 +6110,7 @@
|
|
|
6038
6110
|
"idempotentHint": true,
|
|
6039
6111
|
"openWorldHint": false
|
|
6040
6112
|
},
|
|
6041
|
-
"description": "Resolves which nexthop RouterOS would use for a given IPv4 destination — answers \"which gateway will this packet take?\" without sending any traffic. Version-aware: uses `/ip route check` on
|
|
6113
|
+
"description": "Resolves which nexthop RouterOS would use for a given IPv4 destination — answers \"which gateway will this packet take?\" without sending any traffic. Version-aware: uses `/ip route check` only on a device known to run v6; on v7+ (and when the version is unknown) it uses `/ip route print where <dest> in dst-address active=yes` and never sends the check command. Optionally scoped by `routing_table` (v7) / `routing_mark` (v6) for policy-routing table lookups. For listing all known routes use list_routes; for a named-table view use get_routing_table. Returns the resolved nexthop and interface detail.",
|
|
6042
6114
|
"inputSchema": {
|
|
6043
6115
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6044
6116
|
"type": "object",
|
|
@@ -7113,6 +7185,14 @@
|
|
|
7113
7185
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
7114
7186
|
"type": "object",
|
|
7115
7187
|
"properties": {
|
|
7188
|
+
"unset": {
|
|
7189
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
7190
|
+
"type": "array",
|
|
7191
|
+
"items": {
|
|
7192
|
+
"type": "string",
|
|
7193
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
7194
|
+
}
|
|
7195
|
+
},
|
|
7116
7196
|
"entry_id": {
|
|
7117
7197
|
"type": "string"
|
|
7118
7198
|
},
|
|
@@ -8617,6 +8697,14 @@
|
|
|
8617
8697
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
8618
8698
|
"type": "object",
|
|
8619
8699
|
"properties": {
|
|
8700
|
+
"unset": {
|
|
8701
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
8702
|
+
"type": "array",
|
|
8703
|
+
"items": {
|
|
8704
|
+
"type": "string",
|
|
8705
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
8706
|
+
}
|
|
8707
|
+
},
|
|
8620
8708
|
"rule_id": {
|
|
8621
8709
|
"type": "string"
|
|
8622
8710
|
},
|
|
@@ -9175,6 +9263,14 @@
|
|
|
9175
9263
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9176
9264
|
"type": "object",
|
|
9177
9265
|
"properties": {
|
|
9266
|
+
"unset": {
|
|
9267
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
9268
|
+
"type": "array",
|
|
9269
|
+
"items": {
|
|
9270
|
+
"type": "string",
|
|
9271
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
9272
|
+
}
|
|
9273
|
+
},
|
|
9178
9274
|
"rule_id": {
|
|
9179
9275
|
"type": "string"
|
|
9180
9276
|
},
|
|
@@ -9755,6 +9851,14 @@
|
|
|
9755
9851
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9756
9852
|
"type": "object",
|
|
9757
9853
|
"properties": {
|
|
9854
|
+
"unset": {
|
|
9855
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
9856
|
+
"type": "array",
|
|
9857
|
+
"items": {
|
|
9858
|
+
"type": "string",
|
|
9859
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
9860
|
+
}
|
|
9861
|
+
},
|
|
9758
9862
|
"rule_id": {
|
|
9759
9863
|
"type": "string"
|
|
9760
9864
|
},
|
|
@@ -10233,6 +10337,14 @@
|
|
|
10233
10337
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10234
10338
|
"type": "object",
|
|
10235
10339
|
"properties": {
|
|
10340
|
+
"unset": {
|
|
10341
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
10342
|
+
"type": "array",
|
|
10343
|
+
"items": {
|
|
10344
|
+
"type": "string",
|
|
10345
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
10346
|
+
}
|
|
10347
|
+
},
|
|
10236
10348
|
"rule_id": {
|
|
10237
10349
|
"type": "string"
|
|
10238
10350
|
},
|
|
@@ -10717,6 +10829,14 @@
|
|
|
10717
10829
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10718
10830
|
"type": "object",
|
|
10719
10831
|
"properties": {
|
|
10832
|
+
"unset": {
|
|
10833
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
10834
|
+
"type": "array",
|
|
10835
|
+
"items": {
|
|
10836
|
+
"type": "string",
|
|
10837
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
10838
|
+
}
|
|
10839
|
+
},
|
|
10720
10840
|
"nd_id": {
|
|
10721
10841
|
"type": "string",
|
|
10722
10842
|
"description": "Interface name (e.g. 'all', 'ether1') or '.id'"
|
|
@@ -11090,6 +11210,14 @@
|
|
|
11090
11210
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11091
11211
|
"type": "object",
|
|
11092
11212
|
"properties": {
|
|
11213
|
+
"unset": {
|
|
11214
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
11215
|
+
"type": "array",
|
|
11216
|
+
"items": {
|
|
11217
|
+
"type": "string",
|
|
11218
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
11219
|
+
}
|
|
11220
|
+
},
|
|
11093
11221
|
"name": {
|
|
11094
11222
|
"type": "string"
|
|
11095
11223
|
},
|
|
@@ -11558,6 +11686,14 @@
|
|
|
11558
11686
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11559
11687
|
"type": "object",
|
|
11560
11688
|
"properties": {
|
|
11689
|
+
"unset": {
|
|
11690
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
11691
|
+
"type": "array",
|
|
11692
|
+
"items": {
|
|
11693
|
+
"type": "string",
|
|
11694
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
11695
|
+
}
|
|
11696
|
+
},
|
|
11561
11697
|
"name": {
|
|
11562
11698
|
"type": "string",
|
|
11563
11699
|
"description": "Existing Router-ID instance name"
|
|
@@ -11770,6 +11906,14 @@
|
|
|
11770
11906
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11771
11907
|
"type": "object",
|
|
11772
11908
|
"properties": {
|
|
11909
|
+
"unset": {
|
|
11910
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
11911
|
+
"type": "array",
|
|
11912
|
+
"items": {
|
|
11913
|
+
"type": "string",
|
|
11914
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
11915
|
+
}
|
|
11916
|
+
},
|
|
11773
11917
|
"name": {
|
|
11774
11918
|
"type": "string",
|
|
11775
11919
|
"description": "Existing routing table name"
|
|
@@ -11962,6 +12106,14 @@
|
|
|
11962
12106
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11963
12107
|
"type": "object",
|
|
11964
12108
|
"properties": {
|
|
12109
|
+
"unset": {
|
|
12110
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
12111
|
+
"type": "array",
|
|
12112
|
+
"items": {
|
|
12113
|
+
"type": "string",
|
|
12114
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
12115
|
+
}
|
|
12116
|
+
},
|
|
11965
12117
|
"rule_id": {
|
|
11966
12118
|
"type": "string",
|
|
11967
12119
|
"description": "Rule id, e.g. \"*3\""
|
|
@@ -12168,6 +12320,14 @@
|
|
|
12168
12320
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12169
12321
|
"type": "object",
|
|
12170
12322
|
"properties": {
|
|
12323
|
+
"unset": {
|
|
12324
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
12325
|
+
"type": "array",
|
|
12326
|
+
"items": {
|
|
12327
|
+
"type": "string",
|
|
12328
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
12329
|
+
}
|
|
12330
|
+
},
|
|
12171
12331
|
"rule_id": {
|
|
12172
12332
|
"type": "string",
|
|
12173
12333
|
"description": "Rule id, e.g. \"*3\""
|
|
@@ -12411,6 +12571,14 @@
|
|
|
12411
12571
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12412
12572
|
"type": "object",
|
|
12413
12573
|
"properties": {
|
|
12574
|
+
"unset": {
|
|
12575
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
12576
|
+
"type": "array",
|
|
12577
|
+
"items": {
|
|
12578
|
+
"type": "string",
|
|
12579
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
12580
|
+
}
|
|
12581
|
+
},
|
|
12414
12582
|
"config_id": {
|
|
12415
12583
|
"type": "string",
|
|
12416
12584
|
"description": "Configuration id, e.g. \"*1\""
|
|
@@ -12792,6 +12960,14 @@
|
|
|
12792
12960
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12793
12961
|
"type": "object",
|
|
12794
12962
|
"properties": {
|
|
12963
|
+
"unset": {
|
|
12964
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
12965
|
+
"type": "array",
|
|
12966
|
+
"items": {
|
|
12967
|
+
"type": "string",
|
|
12968
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
12969
|
+
}
|
|
12970
|
+
},
|
|
12795
12971
|
"name": {
|
|
12796
12972
|
"type": "string",
|
|
12797
12973
|
"description": "Existing BGP connection name"
|
|
@@ -13240,6 +13416,14 @@
|
|
|
13240
13416
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
13241
13417
|
"type": "object",
|
|
13242
13418
|
"properties": {
|
|
13419
|
+
"unset": {
|
|
13420
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
13421
|
+
"type": "array",
|
|
13422
|
+
"items": {
|
|
13423
|
+
"type": "string",
|
|
13424
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
13425
|
+
}
|
|
13426
|
+
},
|
|
13243
13427
|
"name": {
|
|
13244
13428
|
"type": "string",
|
|
13245
13429
|
"description": "Existing OSPF instance name"
|
|
@@ -13764,6 +13948,14 @@
|
|
|
13764
13948
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
13765
13949
|
"type": "object",
|
|
13766
13950
|
"properties": {
|
|
13951
|
+
"unset": {
|
|
13952
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
13953
|
+
"type": "array",
|
|
13954
|
+
"items": {
|
|
13955
|
+
"type": "string",
|
|
13956
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
13957
|
+
}
|
|
13958
|
+
},
|
|
13767
13959
|
"name": {
|
|
13768
13960
|
"type": "string",
|
|
13769
13961
|
"description": "Existing RIP instance name"
|
|
@@ -14439,6 +14631,14 @@
|
|
|
14439
14631
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14440
14632
|
"type": "object",
|
|
14441
14633
|
"properties": {
|
|
14634
|
+
"unset": {
|
|
14635
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
14636
|
+
"type": "array",
|
|
14637
|
+
"items": {
|
|
14638
|
+
"type": "string",
|
|
14639
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
14640
|
+
}
|
|
14641
|
+
},
|
|
14442
14642
|
"interface": {
|
|
14443
14643
|
"type": "string",
|
|
14444
14644
|
"description": "Existing IGMP-proxy interface name"
|
|
@@ -14665,6 +14865,14 @@
|
|
|
14665
14865
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14666
14866
|
"type": "object",
|
|
14667
14867
|
"properties": {
|
|
14868
|
+
"unset": {
|
|
14869
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
14870
|
+
"type": "array",
|
|
14871
|
+
"items": {
|
|
14872
|
+
"type": "string",
|
|
14873
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
14874
|
+
}
|
|
14875
|
+
},
|
|
14668
14876
|
"session_id": {
|
|
14669
14877
|
"type": "string",
|
|
14670
14878
|
"description": "Session id, e.g. \"*1\""
|
|
@@ -15056,6 +15264,14 @@
|
|
|
15056
15264
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15057
15265
|
"type": "object",
|
|
15058
15266
|
"properties": {
|
|
15267
|
+
"unset": {
|
|
15268
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
15269
|
+
"type": "array",
|
|
15270
|
+
"items": {
|
|
15271
|
+
"type": "string",
|
|
15272
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
15273
|
+
}
|
|
15274
|
+
},
|
|
15059
15275
|
"rule_id": {
|
|
15060
15276
|
"type": "string"
|
|
15061
15277
|
},
|
|
@@ -15819,6 +16035,14 @@
|
|
|
15819
16035
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15820
16036
|
"type": "object",
|
|
15821
16037
|
"properties": {
|
|
16038
|
+
"unset": {
|
|
16039
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
16040
|
+
"type": "array",
|
|
16041
|
+
"items": {
|
|
16042
|
+
"type": "string",
|
|
16043
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
16044
|
+
}
|
|
16045
|
+
},
|
|
15822
16046
|
"rule_id": {
|
|
15823
16047
|
"type": "string"
|
|
15824
16048
|
},
|
|
@@ -16463,6 +16687,14 @@
|
|
|
16463
16687
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
16464
16688
|
"type": "object",
|
|
16465
16689
|
"properties": {
|
|
16690
|
+
"unset": {
|
|
16691
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
16692
|
+
"type": "array",
|
|
16693
|
+
"items": {
|
|
16694
|
+
"type": "string",
|
|
16695
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
16696
|
+
}
|
|
16697
|
+
},
|
|
16466
16698
|
"rule_id": {
|
|
16467
16699
|
"type": "string"
|
|
16468
16700
|
},
|
|
@@ -20001,6 +20233,14 @@
|
|
|
20001
20233
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20002
20234
|
"type": "object",
|
|
20003
20235
|
"properties": {
|
|
20236
|
+
"unset": {
|
|
20237
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
20238
|
+
"type": "array",
|
|
20239
|
+
"items": {
|
|
20240
|
+
"type": "string",
|
|
20241
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
20242
|
+
}
|
|
20243
|
+
},
|
|
20004
20244
|
"server_id": {
|
|
20005
20245
|
"type": "string",
|
|
20006
20246
|
"description": "Interface name or RouterOS '.id'"
|
|
@@ -20183,6 +20423,14 @@
|
|
|
20183
20423
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20184
20424
|
"type": "object",
|
|
20185
20425
|
"properties": {
|
|
20426
|
+
"unset": {
|
|
20427
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
20428
|
+
"type": "array",
|
|
20429
|
+
"items": {
|
|
20430
|
+
"type": "string",
|
|
20431
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
20432
|
+
}
|
|
20433
|
+
},
|
|
20186
20434
|
"client_id": {
|
|
20187
20435
|
"type": "string",
|
|
20188
20436
|
"description": "Interface name or RouterOS '.id'"
|
|
@@ -20367,6 +20615,14 @@
|
|
|
20367
20615
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20368
20616
|
"type": "object",
|
|
20369
20617
|
"properties": {
|
|
20618
|
+
"unset": {
|
|
20619
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
20620
|
+
"type": "array",
|
|
20621
|
+
"items": {
|
|
20622
|
+
"type": "string",
|
|
20623
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
20624
|
+
}
|
|
20625
|
+
},
|
|
20370
20626
|
"name": {
|
|
20371
20627
|
"type": "string"
|
|
20372
20628
|
},
|
|
@@ -20619,6 +20875,14 @@
|
|
|
20619
20875
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20620
20876
|
"type": "object",
|
|
20621
20877
|
"properties": {
|
|
20878
|
+
"unset": {
|
|
20879
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
20880
|
+
"type": "array",
|
|
20881
|
+
"items": {
|
|
20882
|
+
"type": "string",
|
|
20883
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
20884
|
+
}
|
|
20885
|
+
},
|
|
20622
20886
|
"peer_id": {
|
|
20623
20887
|
"type": "string",
|
|
20624
20888
|
"description": "\"*N\" or \"N\" from list output e.g. \"*2\""
|
|
@@ -21106,6 +21370,14 @@
|
|
|
21106
21370
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
21107
21371
|
"type": "object",
|
|
21108
21372
|
"properties": {
|
|
21373
|
+
"unset": {
|
|
21374
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
21375
|
+
"type": "array",
|
|
21376
|
+
"items": {
|
|
21377
|
+
"type": "string",
|
|
21378
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
21379
|
+
}
|
|
21380
|
+
},
|
|
21109
21381
|
"name": {
|
|
21110
21382
|
"type": "string",
|
|
21111
21383
|
"description": "Current name of the IPsec profile to update"
|
|
@@ -21283,6 +21555,14 @@
|
|
|
21283
21555
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
21284
21556
|
"type": "object",
|
|
21285
21557
|
"properties": {
|
|
21558
|
+
"unset": {
|
|
21559
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
21560
|
+
"type": "array",
|
|
21561
|
+
"items": {
|
|
21562
|
+
"type": "string",
|
|
21563
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
21564
|
+
}
|
|
21565
|
+
},
|
|
21286
21566
|
"name": {
|
|
21287
21567
|
"type": "string",
|
|
21288
21568
|
"description": "Current name of the IPsec peer to update"
|
|
@@ -21567,6 +21847,14 @@
|
|
|
21567
21847
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
21568
21848
|
"type": "object",
|
|
21569
21849
|
"properties": {
|
|
21850
|
+
"unset": {
|
|
21851
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
21852
|
+
"type": "array",
|
|
21853
|
+
"items": {
|
|
21854
|
+
"type": "string",
|
|
21855
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
21856
|
+
}
|
|
21857
|
+
},
|
|
21570
21858
|
"name": {
|
|
21571
21859
|
"type": "string",
|
|
21572
21860
|
"description": "Current name of the IPsec proposal to update"
|
|
@@ -21992,6 +22280,14 @@
|
|
|
21992
22280
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
21993
22281
|
"type": "object",
|
|
21994
22282
|
"properties": {
|
|
22283
|
+
"unset": {
|
|
22284
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
22285
|
+
"type": "array",
|
|
22286
|
+
"items": {
|
|
22287
|
+
"type": "string",
|
|
22288
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
22289
|
+
}
|
|
22290
|
+
},
|
|
21995
22291
|
"name": {
|
|
21996
22292
|
"type": "string",
|
|
21997
22293
|
"description": "Current name of the PPP profile to update"
|
|
@@ -22250,6 +22546,14 @@
|
|
|
22250
22546
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
22251
22547
|
"type": "object",
|
|
22252
22548
|
"properties": {
|
|
22549
|
+
"unset": {
|
|
22550
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
22551
|
+
"type": "array",
|
|
22552
|
+
"items": {
|
|
22553
|
+
"type": "string",
|
|
22554
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
22555
|
+
}
|
|
22556
|
+
},
|
|
22253
22557
|
"name": {
|
|
22254
22558
|
"type": "string",
|
|
22255
22559
|
"description": "Current username of the secret to update"
|
|
@@ -23437,6 +23741,14 @@
|
|
|
23437
23741
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
23438
23742
|
"type": "object",
|
|
23439
23743
|
"properties": {
|
|
23744
|
+
"unset": {
|
|
23745
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
23746
|
+
"type": "array",
|
|
23747
|
+
"items": {
|
|
23748
|
+
"type": "string",
|
|
23749
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
23750
|
+
}
|
|
23751
|
+
},
|
|
23440
23752
|
"name": {
|
|
23441
23753
|
"type": "string",
|
|
23442
23754
|
"description": "Existing OpenVPN server instance name"
|
|
@@ -24490,6 +24802,14 @@
|
|
|
24490
24802
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
24491
24803
|
"type": "object",
|
|
24492
24804
|
"properties": {
|
|
24805
|
+
"unset": {
|
|
24806
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
24807
|
+
"type": "array",
|
|
24808
|
+
"items": {
|
|
24809
|
+
"type": "string",
|
|
24810
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
24811
|
+
}
|
|
24812
|
+
},
|
|
24493
24813
|
"radius_id": {
|
|
24494
24814
|
"type": "string",
|
|
24495
24815
|
"description": "RADIUS entry internal .id, e.g. '*1'"
|
|
@@ -24858,6 +25178,14 @@
|
|
|
24858
25178
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
24859
25179
|
"type": "object",
|
|
24860
25180
|
"properties": {
|
|
25181
|
+
"unset": {
|
|
25182
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
25183
|
+
"type": "array",
|
|
25184
|
+
"items": {
|
|
25185
|
+
"type": "string",
|
|
25186
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
25187
|
+
}
|
|
25188
|
+
},
|
|
24861
25189
|
"name": {
|
|
24862
25190
|
"type": "string",
|
|
24863
25191
|
"description": "Current name of the user to update"
|
|
@@ -25742,6 +26070,14 @@
|
|
|
25742
26070
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
25743
26071
|
"type": "object",
|
|
25744
26072
|
"properties": {
|
|
26073
|
+
"unset": {
|
|
26074
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
26075
|
+
"type": "array",
|
|
26076
|
+
"items": {
|
|
26077
|
+
"type": "string",
|
|
26078
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
26079
|
+
}
|
|
26080
|
+
},
|
|
25745
26081
|
"name": {
|
|
25746
26082
|
"type": "string"
|
|
25747
26083
|
},
|
|
@@ -25999,6 +26335,14 @@
|
|
|
25999
26335
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
26000
26336
|
"type": "object",
|
|
26001
26337
|
"properties": {
|
|
26338
|
+
"unset": {
|
|
26339
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
26340
|
+
"type": "array",
|
|
26341
|
+
"items": {
|
|
26342
|
+
"type": "string",
|
|
26343
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
26344
|
+
}
|
|
26345
|
+
},
|
|
26002
26346
|
"name": {
|
|
26003
26347
|
"type": "string"
|
|
26004
26348
|
},
|
|
@@ -26264,6 +26608,14 @@
|
|
|
26264
26608
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
26265
26609
|
"type": "object",
|
|
26266
26610
|
"properties": {
|
|
26611
|
+
"unset": {
|
|
26612
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
26613
|
+
"type": "array",
|
|
26614
|
+
"items": {
|
|
26615
|
+
"type": "string",
|
|
26616
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
26617
|
+
}
|
|
26618
|
+
},
|
|
26267
26619
|
"name": {
|
|
26268
26620
|
"type": "string"
|
|
26269
26621
|
},
|
|
@@ -26514,6 +26866,14 @@
|
|
|
26514
26866
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
26515
26867
|
"type": "object",
|
|
26516
26868
|
"properties": {
|
|
26869
|
+
"unset": {
|
|
26870
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
26871
|
+
"type": "array",
|
|
26872
|
+
"items": {
|
|
26873
|
+
"type": "string",
|
|
26874
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
26875
|
+
}
|
|
26876
|
+
},
|
|
26517
26877
|
"interface_id": {
|
|
26518
26878
|
"type": "string",
|
|
26519
26879
|
"description": "Interface name (e.g. 'ether1') or RouterOS '.id'"
|
|
@@ -29891,6 +30251,14 @@
|
|
|
29891
30251
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
29892
30252
|
"type": "object",
|
|
29893
30253
|
"properties": {
|
|
30254
|
+
"unset": {
|
|
30255
|
+
"description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
|
|
30256
|
+
"type": "array",
|
|
30257
|
+
"items": {
|
|
30258
|
+
"type": "string",
|
|
30259
|
+
"pattern": "^[a-z][a-z0-9_-]*$"
|
|
30260
|
+
}
|
|
30261
|
+
},
|
|
29894
30262
|
"name": {
|
|
29895
30263
|
"type": "string"
|
|
29896
30264
|
},
|
|
@@ -33466,7 +33834,7 @@
|
|
|
33466
33834
|
"destructiveHint": false,
|
|
33467
33835
|
"openWorldHint": false
|
|
33468
33836
|
},
|
|
33469
|
-
"description": "Set per-device MCP Safe Mode command deadlines before or during a session. Applies only to subsequent commands. Increase for slow exports, decrease for faster failure detection. Does not change RouterOS rollback timing
|
|
33837
|
+
"description": "Set per-device MCP Safe Mode command deadlines before or during a session. Applies only to subsequent commands. Increase for slow exports, decrease for faster failure detection. Does not change RouterOS rollback timing or MCP client deadlines. Settings are in-memory and reset on MCP restart. Defaults: command 120000ms, idle 15000ms.",
|
|
33470
33838
|
"inputSchema": {
|
|
33471
33839
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
33472
33840
|
"type": "object",
|
|
@@ -33497,7 +33865,7 @@
|
|
|
33497
33865
|
"idempotentHint": true,
|
|
33498
33866
|
"openWorldHint": false
|
|
33499
33867
|
},
|
|
33500
|
-
"description": "Queries the Safe Mode SSH session state for the targeted device — reports whether a Safe Mode window is currently open (active) or closed. Safe Mode (RouterOS Ctrl+X) stages all configuration changes in memory for automatic revert on disconnect; this tool does not modify any state. Returns a status string indicating whether Safe Mode is currently active. Use enable_safe_mode to open a session, commit_safe_mode to persist staged changes, or rollback_safe_mode to discard them.",
|
|
33868
|
+
"description": "Queries the Safe Mode SSH session state for the targeted device — reports whether a Safe Mode window is currently open (active) or closed, and why the last session was closed automatically, if it was. Safe Mode (RouterOS Ctrl+X) stages all configuration changes in memory for automatic revert on disconnect; this tool does not modify any state. Returns a status string indicating whether Safe Mode is currently active. Use enable_safe_mode to open a session, commit_safe_mode to persist staged changes, or rollback_safe_mode to discard them.",
|
|
33501
33869
|
"inputSchema": {
|
|
33502
33870
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
33503
33871
|
"type": "object",
|
|
@@ -33545,7 +33913,7 @@
|
|
|
33545
33913
|
"destructiveHint": false,
|
|
33546
33914
|
"openWorldHint": false
|
|
33547
33915
|
},
|
|
33548
|
-
"description": "Closes the targeted Safe Mode SSH session to request RouterOS automatic rollback. Completion is unverified and may be delayed; compare live configuration against a backup before retrying writes. Use this when staged changes are incorrect or need to be abandoned without saving. To persist staged changes instead, use commit_safe_mode. Check current Safe Mode state with safe_mode_status.",
|
|
33916
|
+
"description": "Closes the targeted Safe Mode SSH session to request RouterOS automatic rollback. Completion is unverified and may be delayed; compare live configuration against a backup before retrying writes. A session that times out or loses its prompt is closed automatically, so this tool is never required to recover. Use this when staged changes are incorrect or need to be abandoned without saving. To persist staged changes instead, use commit_safe_mode. Check current Safe Mode state with safe_mode_status.",
|
|
33549
33917
|
"inputSchema": {
|
|
33550
33918
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
33551
33919
|
"type": "object",
|
|
@@ -34286,13 +34654,13 @@
|
|
|
34286
34654
|
},
|
|
34287
34655
|
{
|
|
34288
34656
|
"name": "apply_plan",
|
|
34289
|
-
"title": "Apply RouterOS Change Plan
|
|
34657
|
+
"title": "Apply RouterOS Change Plan",
|
|
34290
34658
|
"risk": "dangerous",
|
|
34291
34659
|
"annotations": {
|
|
34292
34660
|
"destructiveHint": true,
|
|
34293
34661
|
"openWorldHint": false
|
|
34294
34662
|
},
|
|
34295
|
-
"description": "Executes intended RouterOS commands
|
|
34663
|
+
"description": "Executes intended RouterOS commands and reports the exact unified diff of what changed, computed from `/export terse` captured before and after on a separate connection. Default (use_safe_mode=true): the steps run inside RouterOS Safe Mode (Ctrl+X over an interactive SSH shell). With confirm=false (default) it applies all steps, captures the diff, then rolls everything back — a true dry-run. With confirm=true it commits, but ONLY after a fresh connection to the device still works — a change that would lock you out reverts instead of sticking. If any step fails, or the Safe Mode session times out, the session is closed (RouterOS reverts uncommitted changes), the real device state is read back and compared with the pre-change export, and the result is reported; this tool never leaves a Safe Mode session open and needs no follow-up tool to recover. use_safe_mode=false (only when the user explicitly asks to write without Safe Mode): stores a restore-point snapshot on the MCP host, runs the steps directly (each one is permanent at once, there is no automatic rollback and no dry-run, confirm=true is required), stops at the first error, then reads back and diffs. This mode also works on MAC-Telnet devices; Safe Mode requires SSH. Steps execute in the same safe order that plan_changes computes (additive before destructive). For a no-device preview use plan_changes. Returns the plan summary, per-step log, unified diff, and the outcome.",
|
|
34296
34664
|
"inputSchema": {
|
|
34297
34665
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
34298
34666
|
"type": "object",
|
|
@@ -34310,9 +34678,14 @@
|
|
|
34310
34678
|
"default": false,
|
|
34311
34679
|
"description": "false = apply, show diff, roll back (dry-run). true = commit if still reachable.",
|
|
34312
34680
|
"type": "boolean"
|
|
34681
|
+
},
|
|
34682
|
+
"use_safe_mode": {
|
|
34683
|
+
"default": true,
|
|
34684
|
+
"description": "false = write directly without Safe Mode (snapshot first, read-back diff after, no automatic rollback). Use only when the user explicitly asks for it.",
|
|
34685
|
+
"type": "boolean"
|
|
34313
34686
|
}
|
|
34314
34687
|
},
|
|
34315
|
-
"required": ["confirm"],
|
|
34688
|
+
"required": ["confirm", "use_safe_mode"],
|
|
34316
34689
|
"additionalProperties": false
|
|
34317
34690
|
}
|
|
34318
34691
|
},
|