@usex/mikrotik-mcp 6.4.1 → 6.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.
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "compose_address_set",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,39}$"
9
+ },
10
+ "family": {
11
+ "default": "ipv4",
12
+ "type": "string",
13
+ "enum": ["ipv4", "ipv6"]
14
+ },
15
+ "operation": {
16
+ "default": "union",
17
+ "type": "string",
18
+ "enum": ["union", "intersection", "difference"]
19
+ },
20
+ "left": {
21
+ "minItems": 1,
22
+ "maxItems": 2048,
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "maxLength": 80
27
+ }
28
+ },
29
+ "right": {
30
+ "default": [],
31
+ "maxItems": 2048,
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string",
35
+ "maxLength": 80
36
+ }
37
+ },
38
+ "source": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "maxLength": 256,
42
+ "description": "Provenance label, not a URL to fetch"
43
+ },
44
+ "parent": {
45
+ "type": "string",
46
+ "format": "uuid",
47
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
48
+ }
49
+ },
50
+ "required": ["name", "family", "operation", "left", "right", "source"],
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "create_address_set",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,39}$"
9
+ },
10
+ "family": {
11
+ "default": "ipv4",
12
+ "type": "string",
13
+ "enum": ["ipv4", "ipv6"]
14
+ },
15
+ "operation": {
16
+ "default": "union",
17
+ "type": "string",
18
+ "enum": ["union", "intersection", "difference"]
19
+ },
20
+ "left": {
21
+ "minItems": 1,
22
+ "maxItems": 2048,
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "maxLength": 80
27
+ }
28
+ },
29
+ "right": {
30
+ "default": [],
31
+ "maxItems": 2048,
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string",
35
+ "maxLength": 80
36
+ }
37
+ },
38
+ "source": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "maxLength": 256,
42
+ "description": "Provenance label, not a URL to fetch"
43
+ },
44
+ "parent": {
45
+ "type": "string",
46
+ "format": "uuid",
47
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
48
+ }
49
+ },
50
+ "required": ["name", "family", "operation", "left", "right", "source"],
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_flow_collector_health",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_tool_call",
4
+ "type": "object",
5
+ "properties": {
6
+ "call_id": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 128,
10
+ "pattern": "^[A-Za-z0-9_-]+$",
11
+ "description": "Full Tool call ID (UUID for new calls; legacy activity IDs are also accepted)."
12
+ }
13
+ },
14
+ "required": ["call_id"],
15
+ "additionalProperties": false
16
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_address_sets",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "preview_address_set",
4
+ "type": "object",
5
+ "properties": {
6
+ "id": {
7
+ "type": "string",
8
+ "format": "uuid",
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
+ },
11
+ "references": {
12
+ "default": [],
13
+ "maxItems": 8,
14
+ "type": "array",
15
+ "items": {
16
+ "type": "object",
17
+ "properties": {
18
+ "table": {
19
+ "type": "string",
20
+ "enum": ["filter", "mangle"]
21
+ },
22
+ "id": {
23
+ "type": "string",
24
+ "pattern": "^\\*[0-9A-Fa-f]+$"
25
+ },
26
+ "field": {
27
+ "type": "string",
28
+ "enum": ["src-address-list", "dst-address-list"]
29
+ },
30
+ "expected": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "maxLength": 128
34
+ }
35
+ },
36
+ "required": ["table", "id", "field", "expected"],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ "rollback": {
41
+ "default": false,
42
+ "type": "boolean"
43
+ },
44
+ "allowLargeChange": {
45
+ "default": false,
46
+ "description": "Explicitly acknowledge /0 or coverage changing by more than 50% of the parent",
47
+ "type": "boolean"
48
+ }
49
+ },
50
+ "required": ["id", "references", "rollback", "allowLargeChange"],
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "verify_filter_policy",
4
+ "type": "object",
5
+ "properties": {
6
+ "config_text": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 200000
10
+ },
11
+ "source": {
12
+ "type": "string",
13
+ "maxLength": 64
14
+ },
15
+ "destination": {
16
+ "type": "string",
17
+ "maxLength": 64
18
+ },
19
+ "source_ports": {
20
+ "default": "0-65535",
21
+ "type": "string",
22
+ "maxLength": 64
23
+ },
24
+ "destination_ports": {
25
+ "default": "0-65535",
26
+ "type": "string",
27
+ "maxLength": 64
28
+ },
29
+ "protocol": {
30
+ "default": "tcp",
31
+ "type": "string",
32
+ "enum": ["tcp", "udp"]
33
+ },
34
+ "chain": {
35
+ "default": "forward",
36
+ "type": "string",
37
+ "enum": ["input", "forward", "output"]
38
+ },
39
+ "in_interface": {
40
+ "default": "bridge",
41
+ "type": "string",
42
+ "maxLength": 128
43
+ },
44
+ "out_interface": {
45
+ "default": "ether1",
46
+ "type": "string",
47
+ "maxLength": 128
48
+ },
49
+ "connection_state": {
50
+ "default": "new",
51
+ "type": "string",
52
+ "enum": ["new", "established", "related", "invalid"]
53
+ },
54
+ "expect": {
55
+ "default": "drop",
56
+ "type": "string",
57
+ "enum": ["accept", "drop", "reject"]
58
+ }
59
+ },
60
+ "required": [
61
+ "config_text",
62
+ "source",
63
+ "destination",
64
+ "source_ports",
65
+ "destination_ports",
66
+ "protocol",
67
+ "chain",
68
+ "in_interface",
69
+ "out_interface",
70
+ "connection_state",
71
+ "expect"
72
+ ],
73
+ "additionalProperties": false
74
+ }