@usex/mikrotik-mcp 5.4.0 → 5.6.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 +9 -2
- package/dist/index.js +1 -1
- package/dist/shared/{cli-cvq8pxvn.js → cli-gyqfq9j6.js} +268 -76
- package/dist/shared/{cli-qqwjbjnv.js → cli-h41j14aw.js} +1 -1
- package/dist/shared/{library-5p5mk963.js → library-135yzct0.js} +268 -76
- package/dist/shared/{library-241wsfpw.js → library-v52e871r.js} +1 -1
- package/package.json +1 -1
- package/schemas/tool-catalog.json +17 -5
- package/schemas/tools/add_ospf_interface_template.json +9 -1
- package/schemas/tools/update_wireguard_peer.json +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
5
|
"toolCount": 891,
|
|
6
6
|
"tools": [
|
|
@@ -11267,7 +11267,7 @@
|
|
|
11267
11267
|
"destructiveHint": false,
|
|
11268
11268
|
"openWorldHint": false
|
|
11269
11269
|
},
|
|
11270
|
-
"description": "Bind interfaces or network prefixes to an OSPF area (`/routing ospf interface-template add`). Match links via `interfaces` (interface or interface-list name) and/or `networks` (prefix, e.g. '10.0.0.0/24'). `type` sets the link model: broadcast (LAN), ptp (point-to-point), ptmp, ptmp-broadcast, nbma, or virtual-link. `passive=true` advertises the subnet without forming OSPF adjacencies (for stub networks). `auth`/`auth_id`/`auth_key` enable per-interface authentication; `hello_interval` e.g. '10s', `dead_interval` e.g. '40s'. Requires the area to already exist (add_ospf_area). Returns the new template id (e.g. '*2') if RouterOS echoes one; use list_ospf_interface_templates to verify.",
|
|
11270
|
+
"description": "Bind interfaces or network prefixes to an OSPF area (`/routing ospf interface-template add`). Match links via `interfaces` (interface or interface-list name) and/or `networks` (prefix, e.g. '10.0.0.0/24'). `type` sets the link model: broadcast (LAN), ptp (point-to-point), ptp-unnumbered (point-to-point over an unnumbered link), ptmp, ptmp-broadcast, nbma, or virtual-link. `passive=true` advertises the subnet without forming OSPF adjacencies (for stub networks). `auth`/`auth_id`/`auth_key` enable per-interface authentication; `hello_interval` e.g. '10s', `dead_interval` e.g. '40s'. Requires the area to already exist (add_ospf_area). Returns the new template id (e.g. '*2') if RouterOS echoes one; use list_ospf_interface_templates to verify.",
|
|
11271
11271
|
"inputSchema": {
|
|
11272
11272
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11273
11273
|
"type": "object",
|
|
@@ -11298,7 +11298,15 @@
|
|
|
11298
11298
|
},
|
|
11299
11299
|
"type": {
|
|
11300
11300
|
"type": "string",
|
|
11301
|
-
"enum": [
|
|
11301
|
+
"enum": [
|
|
11302
|
+
"broadcast",
|
|
11303
|
+
"ptp",
|
|
11304
|
+
"ptp-unnumbered",
|
|
11305
|
+
"ptmp",
|
|
11306
|
+
"ptmp-broadcast",
|
|
11307
|
+
"nbma",
|
|
11308
|
+
"virtual-link"
|
|
11309
|
+
]
|
|
11302
11310
|
},
|
|
11303
11311
|
"passive": {
|
|
11304
11312
|
"type": "boolean"
|
|
@@ -12774,7 +12782,7 @@
|
|
|
12774
12782
|
"idempotentHint": true,
|
|
12775
12783
|
"openWorldHint": false
|
|
12776
12784
|
},
|
|
12777
|
-
"description": "Gets the full detail of one IPv4 firewall FILTER rule (`/ip firewall filter`) by id — every matcher, action, counter and flag. For IPv6 use get_ipv6_filter_rule. rule_id: preferably the `.id` from list_filter_rules e.g. \"*1F\". A bare number like \"3\" is
|
|
12785
|
+
"description": "Gets the full detail of one IPv4 firewall FILTER rule (`/ip firewall filter`) by id — every matcher, action, counter and flag. For IPv6 use get_ipv6_filter_rule. rule_id: preferably the `.id` from list_filter_rules e.g. \"*1F\". A bare number like \"3\" is read as the positional ROW INDEX and resolved to whatever `.id` currently sits there — it is never treated as `.id=*3`, since a `*N` id is hex and reassigned over time. Row positions shift whenever a rule is added, removed or moved, so prefer the `.id`.",
|
|
12778
12786
|
"inputSchema": {
|
|
12779
12787
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12780
12788
|
"type": "object",
|
|
@@ -17656,7 +17664,7 @@
|
|
|
17656
17664
|
"idempotentHint": true,
|
|
17657
17665
|
"openWorldHint": false
|
|
17658
17666
|
},
|
|
17659
|
-
"description": "Permanently deletes a WireGuard tunnel interface (`/interface wireguard remove`) by name. Verifies existence first with count-only
|
|
17667
|
+
"description": "Permanently deletes a WireGuard tunnel interface (`/interface wireguard remove`) by name, together with every peer bound to it. Verifies existence first with count-only. For removing only a specific peer without touching the interface use remove_wireguard_peer. Reports how many peers were removed alongside the interface.",
|
|
17660
17668
|
"inputSchema": {
|
|
17661
17669
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
17662
17670
|
"type": "object",
|
|
@@ -17865,6 +17873,10 @@
|
|
|
17865
17873
|
"type": "string",
|
|
17866
17874
|
"description": "\"*N\" or \"N\" from list output e.g. \"*2\""
|
|
17867
17875
|
},
|
|
17876
|
+
"public_key": {
|
|
17877
|
+
"description": "The peer's base64 public key — re-key a peer in place instead of removing and re-adding it (which would lose the rest of its configuration).",
|
|
17878
|
+
"type": "string"
|
|
17879
|
+
},
|
|
17868
17880
|
"allowed_address": {
|
|
17869
17881
|
"type": "string"
|
|
17870
17882
|
},
|
|
@@ -29,7 +29,15 @@
|
|
|
29
29
|
},
|
|
30
30
|
"type": {
|
|
31
31
|
"type": "string",
|
|
32
|
-
"enum": [
|
|
32
|
+
"enum": [
|
|
33
|
+
"broadcast",
|
|
34
|
+
"ptp",
|
|
35
|
+
"ptp-unnumbered",
|
|
36
|
+
"ptmp",
|
|
37
|
+
"ptmp-broadcast",
|
|
38
|
+
"nbma",
|
|
39
|
+
"virtual-link"
|
|
40
|
+
]
|
|
33
41
|
},
|
|
34
42
|
"passive": {
|
|
35
43
|
"type": "boolean"
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
"type": "string",
|
|
8
8
|
"description": "\"*N\" or \"N\" from list output e.g. \"*2\""
|
|
9
9
|
},
|
|
10
|
+
"public_key": {
|
|
11
|
+
"description": "The peer's base64 public key — re-key a peer in place instead of removing and re-adding it (which would lose the rest of its configuration).",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
10
14
|
"allowed_address": {
|
|
11
15
|
"type": "string"
|
|
12
16
|
},
|