@usex/mikrotik-mcp 3.3.0 → 3.4.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.
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "create_local_backup",
4
+ "type": "object",
5
+ "properties": {
6
+ "label": {
7
+ "description": "Optional label appended to the filename, e.g. \"pre-upgrade\".",
8
+ "type": "string"
9
+ },
10
+ "show_sensitive": {
11
+ "default": false,
12
+ "description": "Include secrets (keys/passwords) in the export. Default false.",
13
+ "type": "boolean"
14
+ }
15
+ },
16
+ "required": ["show_sensitive"],
17
+ "additionalProperties": false
18
+ }
@@ -9,7 +9,13 @@
9
9
  },
10
10
  "connect_to": {
11
11
  "type": "string",
12
- "description": "Remote SSTP server address (host:port or IP)"
12
+ "description": "Remote SSTP server address (IP or DNS name; host:port also accepted)"
13
+ },
14
+ "port": {
15
+ "description": "TCP port (default 443 if omitted)",
16
+ "type": "integer",
17
+ "minimum": -9007199254740991,
18
+ "maximum": 9007199254740991
13
19
  },
14
20
  "user": {
15
21
  "type": "string"
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "delete_local_backup",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "description": "Backup filename to delete."
9
+ }
10
+ },
11
+ "required": ["name"],
12
+ "additionalProperties": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_local_backup",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "description": "Backup filename, e.g. 'edge_2026-06-25_1430.rsc'."
9
+ }
10
+ },
11
+ "required": ["name"],
12
+ "additionalProperties": false
13
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_local_backups",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -9,7 +9,12 @@
9
9
  "gateway_filter": {
10
10
  "type": "string"
11
11
  },
12
+ "routing_table_filter": {
13
+ "description": "Exact policy-routing table name (RouterOS v7)",
14
+ "type": "string"
15
+ },
12
16
  "routing_mark_filter": {
17
+ "description": "Deprecated alias for routing_table_filter",
13
18
  "type": "string"
14
19
  },
15
20
  "distance_filter": {
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "rename_local_backup",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "description": "Current backup filename."
9
+ },
10
+ "new_name": {
11
+ "type": "string",
12
+ "description": "Desired filename (an `.rsc` suffix is added if missing)."
13
+ }
14
+ },
15
+ "required": ["name", "new_name"],
16
+ "additionalProperties": false
17
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "restore_local_backup",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "description": "Backup filename to restore (from list_local_backups)."
9
+ },
10
+ "confirm": {
11
+ "default": false,
12
+ "description": "false = apply, then roll back (dry-run). true = commit if still reachable.",
13
+ "type": "boolean"
14
+ }
15
+ },
16
+ "required": ["name", "confirm"],
17
+ "additionalProperties": false
18
+ }
@@ -30,7 +30,12 @@
30
30
  "minimum": -9007199254740991,
31
31
  "maximum": 9007199254740991
32
32
  },
33
+ "routing_table": {
34
+ "description": "Policy-routing table name (RouterOS v7); \"\" clears it",
35
+ "type": "string"
36
+ },
33
37
  "routing_mark": {
38
+ "description": "Deprecated alias for routing_table (RouterOS v6 name)",
34
39
  "type": "string"
35
40
  },
36
41
  "comment": {