@usex/mikrotik-mcp 4.6.0 → 4.7.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.js +1 -1
- package/dist/shared/{cli-hfhmh1qe.js → cli-38m6waxx.js} +41 -5
- package/dist/shared/{cli-6xcbh1kn.js → cli-jd7xqp2f.js} +1 -1
- package/dist/shared/{library-8hq0qqwm.js → library-31wz8hdh.js} +1 -1
- package/dist/shared/{library-399v2azd.js → library-fs4nps73.js} +41 -5
- package/dist/ui/observability.html +4 -4
- package/package.json +1 -1
- package/schemas/tool-catalog.json +17 -5
- package/schemas/tools/add_ip_address.json +7 -1
- package/schemas/tools/add_ipv6_address.json +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
5
|
"toolCount": 794,
|
|
6
6
|
"tools": [
|
|
@@ -2787,7 +2787,7 @@
|
|
|
2787
2787
|
"destructiveHint": false,
|
|
2788
2788
|
"openWorldHint": false
|
|
2789
2789
|
},
|
|
2790
|
-
"description": "Assigns an IPv4 address to an interface (`/ip address add`). Use this to add a CIDR address (e.g. '192.168.1.1/24') as the router's own address on a network segment — sets the interface's local address, optional network, and broadcast. For IPv6 use add_ipv6_address. Returns the full detail of the new address entry including its `.id`.",
|
|
2790
|
+
"description": "Assigns an IPv4 address to an interface (`/ip address add`). Use this to add a CIDR address (e.g. '192.168.1.1/24') as the router's own address on a network segment — sets the interface's local address, optional network, and broadcast. For IPv6 use add_ipv6_address. Before creating, this checks the existing `/ip address` list and REFUSES to add an address that duplicates or overlaps an already-assigned subnet, returning the conflicting entries so you can pick a non-overlapping address. To intentionally add an overlapping/secondary address, set `allow_overlap: true`. Returns the full detail of the new address entry including its `.id`.",
|
|
2791
2791
|
"inputSchema": {
|
|
2792
2792
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2793
2793
|
"type": "object",
|
|
@@ -2811,12 +2811,18 @@
|
|
|
2811
2811
|
"disabled": {
|
|
2812
2812
|
"default": false,
|
|
2813
2813
|
"type": "boolean"
|
|
2814
|
+
},
|
|
2815
|
+
"allow_overlap": {
|
|
2816
|
+
"default": false,
|
|
2817
|
+
"description": "Bypass the duplicate/overlap guard to add a secondary address in an existing subnet",
|
|
2818
|
+
"type": "boolean"
|
|
2814
2819
|
}
|
|
2815
2820
|
},
|
|
2816
2821
|
"required": [
|
|
2817
2822
|
"address",
|
|
2818
2823
|
"interface",
|
|
2819
|
-
"disabled"
|
|
2824
|
+
"disabled",
|
|
2825
|
+
"allow_overlap"
|
|
2820
2826
|
],
|
|
2821
2827
|
"additionalProperties": false
|
|
2822
2828
|
}
|
|
@@ -5034,7 +5040,7 @@
|
|
|
5034
5040
|
"destructiveHint": false,
|
|
5035
5041
|
"openWorldHint": false
|
|
5036
5042
|
},
|
|
5037
|
-
"description": "Assigns an IPv6 address to an interface (`/ipv6 address add`) — use this to give an interface a static or pool-derived IPv6 address and optionally advertise the prefix via Router Advertisements (ND). For IPv4 address assignment use add_ip_address. For IPv6 routing entries (next-hop/gateway records) use add_ipv6_route. Returns the created entry's full detail including its `.id`.\n\nNotes:\n address: IPv6 with prefix length, e.g. '2001:db8::1/64'. When from_pool\n is set the host part may be omitted and is taken from the pool.\n eui_64: derive the host part from the interface MAC (modified EUI-64).\n advertise: include this prefix in Router Advertisements (ND).",
|
|
5043
|
+
"description": "Assigns an IPv6 address to an interface (`/ipv6 address add`) — use this to give an interface a static or pool-derived IPv6 address and optionally advertise the prefix via Router Advertisements (ND). For IPv4 address assignment use add_ip_address. For IPv6 routing entries (next-hop/gateway records) use add_ipv6_route. Returns the created entry's full detail including its `.id`.\n\nBefore creating, this checks the existing `/ipv6 address` list and REFUSES to add an address that duplicates or overlaps an already-assigned prefix, returning the conflicting entries so you can pick a non-overlapping address. To intentionally add an overlapping/secondary address set `allow_overlap: true`.\n\nNotes:\n address: IPv6 with prefix length, e.g. '2001:db8::1/64'. When from_pool\n is set the host part may be omitted and is taken from the pool.\n eui_64: derive the host part from the interface MAC (modified EUI-64).\n advertise: include this prefix in Router Advertisements (ND).",
|
|
5038
5044
|
"inputSchema": {
|
|
5039
5045
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5040
5046
|
"type": "object",
|
|
@@ -5068,12 +5074,18 @@
|
|
|
5068
5074
|
"disabled": {
|
|
5069
5075
|
"default": false,
|
|
5070
5076
|
"type": "boolean"
|
|
5077
|
+
},
|
|
5078
|
+
"allow_overlap": {
|
|
5079
|
+
"default": false,
|
|
5080
|
+
"description": "Bypass the duplicate/overlap guard to add a secondary address in an existing prefix",
|
|
5081
|
+
"type": "boolean"
|
|
5071
5082
|
}
|
|
5072
5083
|
},
|
|
5073
5084
|
"required": [
|
|
5074
5085
|
"address",
|
|
5075
5086
|
"interface",
|
|
5076
|
-
"disabled"
|
|
5087
|
+
"disabled",
|
|
5088
|
+
"allow_overlap"
|
|
5077
5089
|
],
|
|
5078
5090
|
"additionalProperties": false
|
|
5079
5091
|
}
|
|
@@ -22,12 +22,18 @@
|
|
|
22
22
|
"disabled": {
|
|
23
23
|
"default": false,
|
|
24
24
|
"type": "boolean"
|
|
25
|
+
},
|
|
26
|
+
"allow_overlap": {
|
|
27
|
+
"default": false,
|
|
28
|
+
"description": "Bypass the duplicate/overlap guard to add a secondary address in an existing subnet",
|
|
29
|
+
"type": "boolean"
|
|
25
30
|
}
|
|
26
31
|
},
|
|
27
32
|
"required": [
|
|
28
33
|
"address",
|
|
29
34
|
"interface",
|
|
30
|
-
"disabled"
|
|
35
|
+
"disabled",
|
|
36
|
+
"allow_overlap"
|
|
31
37
|
],
|
|
32
38
|
"additionalProperties": false
|
|
33
39
|
}
|
|
@@ -32,12 +32,18 @@
|
|
|
32
32
|
"disabled": {
|
|
33
33
|
"default": false,
|
|
34
34
|
"type": "boolean"
|
|
35
|
+
},
|
|
36
|
+
"allow_overlap": {
|
|
37
|
+
"default": false,
|
|
38
|
+
"description": "Bypass the duplicate/overlap guard to add a secondary address in an existing prefix",
|
|
39
|
+
"type": "boolean"
|
|
35
40
|
}
|
|
36
41
|
},
|
|
37
42
|
"required": [
|
|
38
43
|
"address",
|
|
39
44
|
"interface",
|
|
40
|
-
"disabled"
|
|
45
|
+
"disabled",
|
|
46
|
+
"allow_overlap"
|
|
41
47
|
],
|
|
42
48
|
"additionalProperties": false
|
|
43
49
|
}
|