@usex/mikrotik-mcp 5.18.0 → 5.20.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/README.md +213 -5
- package/dist/cli.js +3242 -835
- package/dist/index.js +169 -28
- package/dist/shared/{cli-97csvm6f.js → cli-426pkqe9.js} +8 -0
- package/dist/shared/{library-552hdvw2.js → library-73y8qdjr.js} +2619 -537
- package/dist/shared/{library-xbg1d52n.js → library-76naf20r.js} +1 -1
- package/dist/shared/{library-w5tyng4c.js → library-81amv3az.js} +1 -1
- package/dist/shared/{library-08g0pwc9.js → library-krajvnj9.js} +1 -1
- package/dist/shared/{library-gmx9pzx3.js → library-y9tt30y1.js} +11 -1
- package/dist/ui/aaa.html +8 -8
- package/dist/ui/connected-devices.html +8 -8
- package/dist/ui/dashboard.html +16 -16
- package/dist/ui/fabric.html +11 -11
- package/dist/ui/firewall-audit.html +8 -8
- package/dist/ui/firewall.html +9 -9
- package/dist/ui/interfaces.html +8 -8
- package/dist/ui/investigations.html +11 -11
- package/dist/ui/observability.html +77 -75
- package/dist/ui/operations.html +11 -11
- package/dist/ui/records.html +12 -12
- package/dist/ui/reports.html +11 -11
- package/dist/ui/round-trip.html +11 -11
- package/dist/ui/service-health.html +11 -11
- package/package.json +22 -22
- package/prompts/audit-routeros-containers.md +27 -0
- package/prompts/audit-vlan-segmentation.md +31 -0
- package/prompts/setup-guest-wifi.md +23 -24
- package/prompts/setup-routeros-container.md +36 -0
- package/prompts/setup-v2ray-container-proxy.md +68 -194
- package/prompts/setup-vlan-network.md +27 -33
- package/schemas/README.md +1 -1
- package/schemas/devtools-manifest.json +358 -16
- package/schemas/tool-catalog.json +1133 -144
- package/schemas/tools/add_container.json +42 -30
- package/schemas/tools/add_container_env.json +3 -4
- package/schemas/tools/add_container_mount.json +10 -4
- package/schemas/tools/apply_service_routing.json +23 -0
- package/schemas/tools/arm_service_routing.json +23 -0
- package/schemas/tools/configure_flight_recorder.json +30 -0
- package/schemas/tools/confirm_mcp_settings.json +19 -0
- package/schemas/tools/create_service_routing.json +78 -0
- package/schemas/tools/design_network_segment.json +22 -6
- package/schemas/tools/destroy_recovery_lab.json +18 -0
- package/schemas/tools/export_network_incident.json +14 -0
- package/schemas/tools/freeze_network_incident.json +14 -0
- package/schemas/tools/get_container.json +11 -4
- package/schemas/tools/get_flight_recorder.json +7 -0
- package/schemas/tools/get_mcp_settings.json +7 -0
- package/schemas/tools/get_mcp_settings_schema.json +7 -0
- package/schemas/tools/get_recovery_lab.json +7 -0
- package/schemas/tools/get_routeros_container_guide.json +22 -0
- package/schemas/tools/get_vlan_segmentation_guide.json +14 -0
- package/schemas/tools/list_container_envs.json +1 -1
- package/schemas/tools/list_container_mounts.json +7 -2
- package/schemas/tools/list_containers.json +2 -4
- package/schemas/tools/list_service_routing.json +7 -0
- package/schemas/tools/poll_recovery_lab.json +14 -0
- package/schemas/tools/prepare_recovery_lab.json +23 -0
- package/schemas/tools/preview_mcp_settings.json +94 -0
- package/schemas/tools/preview_service_routing.json +23 -0
- package/schemas/tools/probe_service_routing.json +14 -0
- package/schemas/tools/recovery_lab_inventory.json +7 -0
- package/schemas/tools/remove_container.json +11 -4
- package/schemas/tools/remove_container_env.json +7 -3
- package/schemas/tools/remove_container_mount.json +18 -2
- package/schemas/tools/rollback_mcp_settings.json +19 -0
- package/schemas/tools/service_routing_inventory.json +7 -0
- package/schemas/tools/set_container_config.json +4 -6
- package/schemas/tools/start_container.json +11 -4
- package/schemas/tools/start_recovery_lab.json +18 -0
- package/schemas/tools/stop_container.json +11 -4
- package/schemas/tools/update_container.json +46 -6
- package/schemas/tools/update_mcp_settings.json +110 -0
- /package/dist/shared/{cli-3zrj182m.js → cli-6wdstvdq.js} +0 -0
- /package/dist/shared/{cli-s423xk9v.js → cli-cvt06346.js} +0 -0
- /package/dist/shared/{cli-ff6yww2e.js → cli-z1kavk0z.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.20.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
|
-
"toolCount":
|
|
5
|
+
"toolCount": 956,
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "create_client_check",
|
|
@@ -948,6 +948,496 @@
|
|
|
948
948
|
"additionalProperties": false
|
|
949
949
|
}
|
|
950
950
|
},
|
|
951
|
+
{
|
|
952
|
+
"name": "list_service_routing",
|
|
953
|
+
"title": "List Service Routing Policies",
|
|
954
|
+
"risk": "read",
|
|
955
|
+
"annotations": {
|
|
956
|
+
"readOnlyHint": true,
|
|
957
|
+
"idempotentHint": true,
|
|
958
|
+
"openWorldHint": false
|
|
959
|
+
},
|
|
960
|
+
"description": "Read persistent domain routing policies, path evidence, primary exit, history and authorization expiry for this router. No probes or router changes.",
|
|
961
|
+
"inputSchema": {
|
|
962
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
963
|
+
"type": "object",
|
|
964
|
+
"properties": {},
|
|
965
|
+
"additionalProperties": false
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"name": "service_routing_inventory",
|
|
970
|
+
"title": "Discover Service Routing Exits",
|
|
971
|
+
"risk": "read",
|
|
972
|
+
"annotations": {
|
|
973
|
+
"readOnlyHint": true,
|
|
974
|
+
"idempotentHint": true,
|
|
975
|
+
"openWorldHint": false
|
|
976
|
+
},
|
|
977
|
+
"description": "Read enabled FIB tables and administrator-approved HTTPS target aliases. A table is not proof of a working path; HTTPS per-exit probes require a matching VRF.",
|
|
978
|
+
"inputSchema": {
|
|
979
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
980
|
+
"type": "object",
|
|
981
|
+
"properties": {},
|
|
982
|
+
"additionalProperties": false
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "create_service_routing",
|
|
987
|
+
"title": "Create Service Routing Draft",
|
|
988
|
+
"risk": "write",
|
|
989
|
+
"annotations": {
|
|
990
|
+
"destructiveHint": false,
|
|
991
|
+
"openWorldHint": false
|
|
992
|
+
},
|
|
993
|
+
"description": "Save a single-family policy for one approved exact hostname and explicit client subnets. No router changes. Create separate IPv4/IPv6 policies. Shared CDN IPs can affect other services. Preview, then explicitly confirm apply; never infer authorization from a draft.",
|
|
994
|
+
"inputSchema": {
|
|
995
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
996
|
+
"type": "object",
|
|
997
|
+
"properties": {
|
|
998
|
+
"name": {
|
|
999
|
+
"type": "string",
|
|
1000
|
+
"minLength": 1,
|
|
1001
|
+
"maxLength": 80
|
|
1002
|
+
},
|
|
1003
|
+
"target": {
|
|
1004
|
+
"type": "string",
|
|
1005
|
+
"minLength": 1,
|
|
1006
|
+
"maxLength": 64,
|
|
1007
|
+
"pattern": "^[a-zA-Z0-9_.-]+$",
|
|
1008
|
+
"description": "Approved HTTPS alias in serviceProbes.targets; its exact hostname is routed"
|
|
1009
|
+
},
|
|
1010
|
+
"family": {
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"enum": ["ipv4", "ipv6"]
|
|
1013
|
+
},
|
|
1014
|
+
"sources": {
|
|
1015
|
+
"minItems": 1,
|
|
1016
|
+
"maxItems": 8,
|
|
1017
|
+
"type": "array",
|
|
1018
|
+
"items": {
|
|
1019
|
+
"type": "string"
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
"tables": {
|
|
1023
|
+
"minItems": 1,
|
|
1024
|
+
"maxItems": 3,
|
|
1025
|
+
"type": "array",
|
|
1026
|
+
"items": {
|
|
1027
|
+
"type": "string",
|
|
1028
|
+
"minLength": 1,
|
|
1029
|
+
"maxLength": 64,
|
|
1030
|
+
"pattern": "^[a-zA-Z0-9_.-]+$"
|
|
1031
|
+
}
|
|
1032
|
+
},
|
|
1033
|
+
"primary": {
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"minLength": 1,
|
|
1036
|
+
"maxLength": 64,
|
|
1037
|
+
"pattern": "^[a-zA-Z0-9_.-]+$"
|
|
1038
|
+
},
|
|
1039
|
+
"maxLatencyMs": {
|
|
1040
|
+
"default": 5000,
|
|
1041
|
+
"type": "integer",
|
|
1042
|
+
"minimum": 100,
|
|
1043
|
+
"maximum": 15000
|
|
1044
|
+
},
|
|
1045
|
+
"failuresBeforeSwitch": {
|
|
1046
|
+
"default": 3,
|
|
1047
|
+
"type": "integer",
|
|
1048
|
+
"minimum": 2,
|
|
1049
|
+
"maximum": 10
|
|
1050
|
+
},
|
|
1051
|
+
"cooldownSeconds": {
|
|
1052
|
+
"default": 300,
|
|
1053
|
+
"type": "integer",
|
|
1054
|
+
"minimum": 120,
|
|
1055
|
+
"maximum": 3600
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
"required": [
|
|
1059
|
+
"name",
|
|
1060
|
+
"target",
|
|
1061
|
+
"family",
|
|
1062
|
+
"sources",
|
|
1063
|
+
"tables",
|
|
1064
|
+
"primary",
|
|
1065
|
+
"maxLatencyMs",
|
|
1066
|
+
"failuresBeforeSwitch",
|
|
1067
|
+
"cooldownSeconds"
|
|
1068
|
+
],
|
|
1069
|
+
"additionalProperties": false
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "probe_service_routing",
|
|
1074
|
+
"title": "Probe Service Exits",
|
|
1075
|
+
"risk": "read",
|
|
1076
|
+
"annotations": {
|
|
1077
|
+
"readOnlyHint": true,
|
|
1078
|
+
"idempotentHint": true,
|
|
1079
|
+
"openWorldHint": false
|
|
1080
|
+
},
|
|
1081
|
+
"description": "Run bounded, IP-approved HTTPS HEAD fetches from the router through matching VRFs, certificate validation on, redirects off. No files/bodies stored. Table-only exits remain UNKNOWN. SSH overhead is included; not end-client reachability or throughput proof.",
|
|
1082
|
+
"inputSchema": {
|
|
1083
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1084
|
+
"type": "object",
|
|
1085
|
+
"properties": {
|
|
1086
|
+
"id": {
|
|
1087
|
+
"type": "string",
|
|
1088
|
+
"format": "uuid",
|
|
1089
|
+
"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)$"
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
"required": ["id"],
|
|
1093
|
+
"additionalProperties": false
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "preview_service_routing",
|
|
1098
|
+
"title": "Preview Service Routing Change",
|
|
1099
|
+
"risk": "read",
|
|
1100
|
+
"annotations": {
|
|
1101
|
+
"readOnlyHint": true,
|
|
1102
|
+
"idempotentHint": true,
|
|
1103
|
+
"openWorldHint": false
|
|
1104
|
+
},
|
|
1105
|
+
"description": "Read router state and save a two-minute, state-bound preview for applying/switching or removing only owned rules. Reject FastTrack and foreign policy-routing conflicts. Does not create exits, NAT, DNS interception or change router configuration.",
|
|
1106
|
+
"inputSchema": {
|
|
1107
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1108
|
+
"type": "object",
|
|
1109
|
+
"properties": {
|
|
1110
|
+
"id": {
|
|
1111
|
+
"type": "string",
|
|
1112
|
+
"format": "uuid",
|
|
1113
|
+
"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)$"
|
|
1114
|
+
},
|
|
1115
|
+
"table": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"minLength": 1,
|
|
1118
|
+
"maxLength": 64
|
|
1119
|
+
},
|
|
1120
|
+
"remove": {
|
|
1121
|
+
"default": false,
|
|
1122
|
+
"type": "boolean"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
"required": ["id", "table", "remove"],
|
|
1126
|
+
"additionalProperties": false
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"name": "apply_service_routing",
|
|
1131
|
+
"title": "Apply Approved Service Routing Preview",
|
|
1132
|
+
"risk": "write",
|
|
1133
|
+
"annotations": {
|
|
1134
|
+
"destructiveHint": false,
|
|
1135
|
+
"openWorldHint": false
|
|
1136
|
+
},
|
|
1137
|
+
"description": "After explicit user confirmation, apply the exact fresh preview with a backup, exclusive Safe Mode and read-back. Router DNS maintains the owned destination list. Does not touch output/input chains. An ambiguous write is never retried; inspect router state. An apply pauses automatic failover.",
|
|
1138
|
+
"inputSchema": {
|
|
1139
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1140
|
+
"type": "object",
|
|
1141
|
+
"properties": {
|
|
1142
|
+
"id": {
|
|
1143
|
+
"type": "string",
|
|
1144
|
+
"format": "uuid",
|
|
1145
|
+
"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)$"
|
|
1146
|
+
},
|
|
1147
|
+
"planId": {
|
|
1148
|
+
"type": "string",
|
|
1149
|
+
"format": "uuid",
|
|
1150
|
+
"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)$"
|
|
1151
|
+
},
|
|
1152
|
+
"confirm": {
|
|
1153
|
+
"default": false,
|
|
1154
|
+
"type": "boolean"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"required": ["id", "planId", "confirm"],
|
|
1158
|
+
"additionalProperties": false
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"name": "arm_service_routing",
|
|
1163
|
+
"title": "Authorize Time-Limited Service Failover",
|
|
1164
|
+
"risk": "write",
|
|
1165
|
+
"annotations": {
|
|
1166
|
+
"destructiveHint": false,
|
|
1167
|
+
"openWorldHint": false
|
|
1168
|
+
},
|
|
1169
|
+
"description": "Explicitly authorize automatic switching between saved exits for 1-60 minutes, or pause with 0. Requires fresh passing VRF evidence for every exit, consecutive definite failures and cooldown; UNKNOWN never triggers a switch. Expiry stops automation but retains the current route. No new exits or global policy rewrites.",
|
|
1170
|
+
"inputSchema": {
|
|
1171
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1172
|
+
"type": "object",
|
|
1173
|
+
"properties": {
|
|
1174
|
+
"id": {
|
|
1175
|
+
"type": "string",
|
|
1176
|
+
"format": "uuid",
|
|
1177
|
+
"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)$"
|
|
1178
|
+
},
|
|
1179
|
+
"minutes": {
|
|
1180
|
+
"type": "integer",
|
|
1181
|
+
"minimum": 0,
|
|
1182
|
+
"maximum": 60
|
|
1183
|
+
},
|
|
1184
|
+
"confirm": {
|
|
1185
|
+
"default": false,
|
|
1186
|
+
"type": "boolean"
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"required": ["id", "minutes", "confirm"],
|
|
1190
|
+
"additionalProperties": false
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "get_flight_recorder",
|
|
1195
|
+
"title": "Read Network Flight Recorder",
|
|
1196
|
+
"risk": "read",
|
|
1197
|
+
"annotations": {
|
|
1198
|
+
"readOnlyHint": true,
|
|
1199
|
+
"idempotentHint": true,
|
|
1200
|
+
"openWorldHint": false
|
|
1201
|
+
},
|
|
1202
|
+
"description": "Read bounded persistent telemetry, off-router log metadata, capture gaps and frozen incidents for this router. No active probes. Times are host receipt times; correlation never proves cause, identity or a network outage.",
|
|
1203
|
+
"inputSchema": {
|
|
1204
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1205
|
+
"type": "object",
|
|
1206
|
+
"properties": {},
|
|
1207
|
+
"additionalProperties": false
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"name": "configure_flight_recorder",
|
|
1212
|
+
"title": "Configure Network Flight Recorder",
|
|
1213
|
+
"risk": "write",
|
|
1214
|
+
"annotations": {
|
|
1215
|
+
"destructiveHint": false,
|
|
1216
|
+
"openWorldHint": false
|
|
1217
|
+
},
|
|
1218
|
+
"description": "Explicitly enable/disable periodic read-only router collection and local retention. No router configuration writes. Stores bounded resources, interface state, classified log metadata and MCP write/failure metadata; no raw messages or credentials. Requires the MCP process to stay running. SSH polling can miss logs; not a lossless syslog service.",
|
|
1219
|
+
"inputSchema": {
|
|
1220
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1221
|
+
"type": "object",
|
|
1222
|
+
"properties": {
|
|
1223
|
+
"enabled": {
|
|
1224
|
+
"type": "boolean"
|
|
1225
|
+
},
|
|
1226
|
+
"intervalSeconds": {
|
|
1227
|
+
"default": 60,
|
|
1228
|
+
"type": "integer",
|
|
1229
|
+
"minimum": 30,
|
|
1230
|
+
"maximum": 300
|
|
1231
|
+
},
|
|
1232
|
+
"windowMinutes": {
|
|
1233
|
+
"default": 60,
|
|
1234
|
+
"type": "integer",
|
|
1235
|
+
"minimum": 15,
|
|
1236
|
+
"maximum": 360
|
|
1237
|
+
},
|
|
1238
|
+
"retentionDays": {
|
|
1239
|
+
"default": 7,
|
|
1240
|
+
"type": "integer",
|
|
1241
|
+
"minimum": 1,
|
|
1242
|
+
"maximum": 30
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
"required": ["enabled", "intervalSeconds", "windowMinutes", "retentionDays"],
|
|
1246
|
+
"additionalProperties": false
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"name": "freeze_network_incident",
|
|
1251
|
+
"title": "Freeze Network Incident Evidence",
|
|
1252
|
+
"risk": "write",
|
|
1253
|
+
"annotations": {
|
|
1254
|
+
"destructiveHint": false,
|
|
1255
|
+
"openWorldHint": false
|
|
1256
|
+
},
|
|
1257
|
+
"description": "Preserve this router's available rolling evidence plus two minutes of future samples when recording is enabled. Local operation only. Empty history stays empty; cannot recover past logs. Maximum 30 incidents, configured age retention.",
|
|
1258
|
+
"inputSchema": {
|
|
1259
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1260
|
+
"type": "object",
|
|
1261
|
+
"properties": {
|
|
1262
|
+
"title": {
|
|
1263
|
+
"type": "string",
|
|
1264
|
+
"minLength": 1,
|
|
1265
|
+
"maxLength": 120
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
"required": ["title"],
|
|
1269
|
+
"additionalProperties": false
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"name": "export_network_incident",
|
|
1274
|
+
"title": "Export Network Incident Evidence",
|
|
1275
|
+
"risk": "read",
|
|
1276
|
+
"annotations": {
|
|
1277
|
+
"readOnlyHint": true,
|
|
1278
|
+
"idempotentHint": true,
|
|
1279
|
+
"openWorldHint": false
|
|
1280
|
+
},
|
|
1281
|
+
"description": "Export a device-scoped frozen incident with coverage gaps and separate router/receive timestamps. No raw logs or command bodies. Review device/interface names before sharing. Do not attribute an attack to a user based only on these observations.",
|
|
1282
|
+
"inputSchema": {
|
|
1283
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1284
|
+
"type": "object",
|
|
1285
|
+
"properties": {
|
|
1286
|
+
"id": {
|
|
1287
|
+
"type": "string",
|
|
1288
|
+
"format": "uuid",
|
|
1289
|
+
"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)$"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"required": ["id"],
|
|
1293
|
+
"additionalProperties": false
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"name": "get_recovery_lab",
|
|
1298
|
+
"title": "Read Recovery Lab",
|
|
1299
|
+
"risk": "read",
|
|
1300
|
+
"annotations": {
|
|
1301
|
+
"readOnlyHint": true,
|
|
1302
|
+
"idempotentHint": true,
|
|
1303
|
+
"openWorldHint": false
|
|
1304
|
+
},
|
|
1305
|
+
"description": "Read device-scoped recovery rehearsals and last-known runner evidence. Local only, no router or runner contact. A passed portable subset is not proof of a full physical-router restore or production upgrade safety.",
|
|
1306
|
+
"inputSchema": {
|
|
1307
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1308
|
+
"type": "object",
|
|
1309
|
+
"properties": {},
|
|
1310
|
+
"additionalProperties": false
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"name": "recovery_lab_inventory",
|
|
1315
|
+
"title": "Inspect Recovery Lab Inputs",
|
|
1316
|
+
"risk": "read",
|
|
1317
|
+
"annotations": {
|
|
1318
|
+
"readOnlyHint": true,
|
|
1319
|
+
"idempotentHint": true,
|
|
1320
|
+
"openWorldHint": false
|
|
1321
|
+
},
|
|
1322
|
+
"description": "List this router's local snapshots and read the administrator-configured runner's isolation claims and pinned CHR images. Does not provision VMs or transmit snapshots. Runner must be separately installed; no fallback to production routers.",
|
|
1323
|
+
"inputSchema": {
|
|
1324
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1325
|
+
"type": "object",
|
|
1326
|
+
"properties": {},
|
|
1327
|
+
"additionalProperties": false
|
|
1328
|
+
}
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"name": "prepare_recovery_lab",
|
|
1332
|
+
"title": "Prepare Isolated Recovery Rehearsal",
|
|
1333
|
+
"risk": "write",
|
|
1334
|
+
"annotations": {
|
|
1335
|
+
"destructiveHint": false,
|
|
1336
|
+
"openWorldHint": false
|
|
1337
|
+
},
|
|
1338
|
+
"description": "Build a local immutable preview from an existing device-owned snapshot: allowlisted additive literal commands only, coverage counts, no secrets/scripts/management settings. No raw export upload, VM creation or router contact. Unknown scopes are excluded and remain untested. Preview expires in ten minutes.",
|
|
1339
|
+
"inputSchema": {
|
|
1340
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1341
|
+
"type": "object",
|
|
1342
|
+
"properties": {
|
|
1343
|
+
"snapshotId": {
|
|
1344
|
+
"type": "string",
|
|
1345
|
+
"minLength": 1,
|
|
1346
|
+
"maxLength": 100
|
|
1347
|
+
},
|
|
1348
|
+
"version": {
|
|
1349
|
+
"type": "string",
|
|
1350
|
+
"pattern": "^7\\.\\d+(?:\\.\\d+)?(?:beta\\d+|rc\\d+)?$"
|
|
1351
|
+
},
|
|
1352
|
+
"mode": {
|
|
1353
|
+
"default": "restore",
|
|
1354
|
+
"type": "string",
|
|
1355
|
+
"enum": ["restore", "upgrade"]
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"required": ["snapshotId", "version", "mode"],
|
|
1359
|
+
"additionalProperties": false
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "start_recovery_lab",
|
|
1364
|
+
"title": "Start Approved Recovery Rehearsal",
|
|
1365
|
+
"risk": "write",
|
|
1366
|
+
"annotations": {
|
|
1367
|
+
"destructiveHint": false,
|
|
1368
|
+
"openWorldHint": false
|
|
1369
|
+
},
|
|
1370
|
+
"description": "Only after explicit approval, transmit the reviewed portable subset to the pinned isolated runner and request a disposable 15-minute CHR lab. Revalidate snapshot and runner capabilities. No production router I/O. An ambiguous request is never retried; poll the same ID. Requires a separately deployed runner implementing the documented protocol.",
|
|
1371
|
+
"inputSchema": {
|
|
1372
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1373
|
+
"type": "object",
|
|
1374
|
+
"properties": {
|
|
1375
|
+
"id": {
|
|
1376
|
+
"type": "string",
|
|
1377
|
+
"format": "uuid",
|
|
1378
|
+
"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)$"
|
|
1379
|
+
},
|
|
1380
|
+
"confirm": {
|
|
1381
|
+
"default": false,
|
|
1382
|
+
"type": "boolean"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"required": ["id", "confirm"],
|
|
1386
|
+
"additionalProperties": false
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"name": "poll_recovery_lab",
|
|
1391
|
+
"title": "Read Recovery Runner Evidence",
|
|
1392
|
+
"risk": "read",
|
|
1393
|
+
"annotations": {
|
|
1394
|
+
"readOnlyHint": true,
|
|
1395
|
+
"idempotentHint": true,
|
|
1396
|
+
"openWorldHint": false
|
|
1397
|
+
},
|
|
1398
|
+
"description": "Poll the exact existing rehearsal ID on its original approved runner. Check identity, request hash, target version, isolation, distinct checks and cleanup. Full pass requires authenticated boot/import/readback/reboot/isolation; excluded scopes and hardware remain untested. No write retry.",
|
|
1399
|
+
"inputSchema": {
|
|
1400
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1401
|
+
"type": "object",
|
|
1402
|
+
"properties": {
|
|
1403
|
+
"id": {
|
|
1404
|
+
"type": "string",
|
|
1405
|
+
"format": "uuid",
|
|
1406
|
+
"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)$"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
"required": ["id"],
|
|
1410
|
+
"additionalProperties": false
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"name": "destroy_recovery_lab",
|
|
1415
|
+
"title": "Destroy Owned Disposable Lab",
|
|
1416
|
+
"risk": "destructive",
|
|
1417
|
+
"annotations": {
|
|
1418
|
+
"destructiveHint": true,
|
|
1419
|
+
"idempotentHint": true,
|
|
1420
|
+
"openWorldHint": false
|
|
1421
|
+
},
|
|
1422
|
+
"description": "After explicit confirmation, request destruction of the VM/resources belonging only to this submitted rehearsal ID on its original runner. Local evidence is retained. Requires verified destruction response; never destroys production devices or accepts arbitrary VM IDs.",
|
|
1423
|
+
"inputSchema": {
|
|
1424
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1425
|
+
"type": "object",
|
|
1426
|
+
"properties": {
|
|
1427
|
+
"id": {
|
|
1428
|
+
"type": "string",
|
|
1429
|
+
"format": "uuid",
|
|
1430
|
+
"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)$"
|
|
1431
|
+
},
|
|
1432
|
+
"confirm": {
|
|
1433
|
+
"default": false,
|
|
1434
|
+
"type": "boolean"
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
"required": ["id", "confirm"],
|
|
1438
|
+
"additionalProperties": false
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
951
1441
|
{
|
|
952
1442
|
"name": "inspect_flow_path",
|
|
953
1443
|
"title": "Inspect Exported Client Flow Path",
|
|
@@ -1270,72 +1760,385 @@
|
|
|
1270
1760
|
],
|
|
1271
1761
|
"description": "Which area to explain"
|
|
1272
1762
|
},
|
|
1273
|
-
"snapshot_id": {
|
|
1274
|
-
"description": "Explain a stored snapshot instead of the live device",
|
|
1275
|
-
"type": "string"
|
|
1763
|
+
"snapshot_id": {
|
|
1764
|
+
"description": "Explain a stored snapshot instead of the live device",
|
|
1765
|
+
"type": "string"
|
|
1766
|
+
},
|
|
1767
|
+
"config_text": {
|
|
1768
|
+
"description": "Explain this raw `/export` text instead",
|
|
1769
|
+
"type": "string"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
"required": ["section"],
|
|
1773
|
+
"additionalProperties": false
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"name": "diff_explanations",
|
|
1778
|
+
"title": "Explain What Changed",
|
|
1779
|
+
"risk": "read",
|
|
1780
|
+
"annotations": {
|
|
1781
|
+
"readOnlyHint": true,
|
|
1782
|
+
"idempotentHint": true,
|
|
1783
|
+
"openWorldHint": false
|
|
1784
|
+
},
|
|
1785
|
+
"description": "Compares two configurations and reports the CONSEQUENCES of the difference in plain language — 'the forward chain no longer ends in a drop, so anything not matched is now allowed', 'VLAN 40 was added and can reach the internet through the existing NAT rule'. This is the question a reviewer actually has; diff_config_snapshots answers the different question of which LINES changed, and a moved rule looks unremarkable there. Pass two snapshot ids, or two raw exports, or one of each. Leaving the AFTER side out compares a snapshot against the device as it is right now, which is the usual way to ask 'what has changed since we documented this'. Changes are ordered most consequential first, and security changes are called out as such.",
|
|
1786
|
+
"inputSchema": {
|
|
1787
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1788
|
+
"type": "object",
|
|
1789
|
+
"properties": {
|
|
1790
|
+
"before_snapshot_id": {
|
|
1791
|
+
"description": "The earlier snapshot",
|
|
1792
|
+
"type": "string"
|
|
1793
|
+
},
|
|
1794
|
+
"after_snapshot_id": {
|
|
1795
|
+
"description": "The later snapshot",
|
|
1796
|
+
"type": "string"
|
|
1797
|
+
},
|
|
1798
|
+
"before_text": {
|
|
1799
|
+
"description": "The earlier `/export` text",
|
|
1800
|
+
"type": "string"
|
|
1801
|
+
},
|
|
1802
|
+
"after_text": {
|
|
1803
|
+
"description": "The later `/export` text",
|
|
1804
|
+
"type": "string"
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
"additionalProperties": false
|
|
1808
|
+
}
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"name": "check_server_pulse",
|
|
1812
|
+
"title": "Server Pulse & Update Check",
|
|
1813
|
+
"risk": "read",
|
|
1814
|
+
"annotations": {
|
|
1815
|
+
"readOnlyHint": true,
|
|
1816
|
+
"idempotentHint": true,
|
|
1817
|
+
"openWorldHint": false
|
|
1818
|
+
},
|
|
1819
|
+
"description": "Check the MCP server's own heartbeat: running version, whether a newer release is available, release notes for the latest version, upgrade commands, and server vitals (tool count, uptime). This is server self-awareness — no RouterOS device is contacted. Call this when the user asks about the MCP server version, updates, what's new, or 'is my server up to date'. Returns rich release notes from GitHub so you can summarize what changed.",
|
|
1820
|
+
"inputSchema": {
|
|
1821
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1822
|
+
"type": "object",
|
|
1823
|
+
"properties": {
|
|
1824
|
+
"include_release_notes": {
|
|
1825
|
+
"description": "Include the full GitHub release notes markdown (default true). Set false for a compact version-only check.",
|
|
1826
|
+
"type": "boolean"
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1829
|
+
"additionalProperties": false
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"name": "get_mcp_settings",
|
|
1834
|
+
"title": "Read MCP Server Settings",
|
|
1835
|
+
"risk": "read",
|
|
1836
|
+
"annotations": {
|
|
1837
|
+
"readOnlyHint": true,
|
|
1838
|
+
"idempotentHint": true,
|
|
1839
|
+
"openWorldHint": false
|
|
1840
|
+
},
|
|
1841
|
+
"description": "Read the MCP host's editable settings, opaque revision and pending change. Covers tool presentation, SSH pooling, dashboard recording, Memory enablement and startup update checks. Contains no credentials; never contacts a router. These are configured values, not proof a startup-only component has restarted. Read before preview_mcp_settings or update_mcp_settings.",
|
|
1842
|
+
"inputSchema": {
|
|
1843
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1844
|
+
"type": "object",
|
|
1845
|
+
"properties": {},
|
|
1846
|
+
"additionalProperties": false
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"name": "get_mcp_settings_schema",
|
|
1851
|
+
"title": "Describe Editable MCP Settings",
|
|
1852
|
+
"risk": "read",
|
|
1853
|
+
"annotations": {
|
|
1854
|
+
"readOnlyHint": true,
|
|
1855
|
+
"idempotentHint": true,
|
|
1856
|
+
"openWorldHint": false
|
|
1857
|
+
},
|
|
1858
|
+
"description": "Get the exact JSON Schema for the partial changes accepted by preview_mcp_settings and update_mcp_settings. Unknown/protected fields are rejected, omitted fields stay unchanged. Credentials, listeners, file paths, device inventory and permission ceilings are operator-managed. No device or file changes.",
|
|
1859
|
+
"inputSchema": {
|
|
1860
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1861
|
+
"type": "object",
|
|
1862
|
+
"properties": {},
|
|
1863
|
+
"additionalProperties": false
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"name": "preview_mcp_settings",
|
|
1868
|
+
"title": "Validate and Preview MCP Settings",
|
|
1869
|
+
"risk": "read",
|
|
1870
|
+
"annotations": {
|
|
1871
|
+
"readOnlyHint": true,
|
|
1872
|
+
"idempotentHint": true,
|
|
1873
|
+
"openWorldHint": false
|
|
1874
|
+
},
|
|
1875
|
+
"description": "Validate a partial MCP settings change against live configuration and return changed paths, a secret-free diff, revision and restart requirements. No file writes or router contact. Show the preview and obtain user approval before applying; never guess setting names.",
|
|
1876
|
+
"inputSchema": {
|
|
1877
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1878
|
+
"type": "object",
|
|
1879
|
+
"properties": {
|
|
1880
|
+
"changes": {
|
|
1881
|
+
"type": "object",
|
|
1882
|
+
"properties": {
|
|
1883
|
+
"mcp": {
|
|
1884
|
+
"type": "object",
|
|
1885
|
+
"properties": {
|
|
1886
|
+
"toolPageSize": {
|
|
1887
|
+
"type": "integer",
|
|
1888
|
+
"minimum": 0,
|
|
1889
|
+
"maximum": 9007199254740991
|
|
1890
|
+
},
|
|
1891
|
+
"appViews": {
|
|
1892
|
+
"type": "boolean"
|
|
1893
|
+
},
|
|
1894
|
+
"capabilityGating": {
|
|
1895
|
+
"type": "string",
|
|
1896
|
+
"enum": ["off", "annotate", "filter"]
|
|
1897
|
+
}
|
|
1898
|
+
},
|
|
1899
|
+
"additionalProperties": false
|
|
1900
|
+
},
|
|
1901
|
+
"ssh": {
|
|
1902
|
+
"type": "object",
|
|
1903
|
+
"properties": {
|
|
1904
|
+
"keepAlive": {
|
|
1905
|
+
"type": "boolean"
|
|
1906
|
+
},
|
|
1907
|
+
"keepAliveInterval": {
|
|
1908
|
+
"type": "integer",
|
|
1909
|
+
"minimum": 0,
|
|
1910
|
+
"maximum": 9007199254740991
|
|
1911
|
+
},
|
|
1912
|
+
"idleTimeout": {
|
|
1913
|
+
"type": "integer",
|
|
1914
|
+
"exclusiveMinimum": 0,
|
|
1915
|
+
"maximum": 9007199254740991
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
"additionalProperties": false
|
|
1919
|
+
},
|
|
1920
|
+
"dashboard": {
|
|
1921
|
+
"type": "object",
|
|
1922
|
+
"properties": {
|
|
1923
|
+
"maxEvents": {
|
|
1924
|
+
"type": "integer",
|
|
1925
|
+
"exclusiveMinimum": 0,
|
|
1926
|
+
"maximum": 9007199254740991
|
|
1927
|
+
},
|
|
1928
|
+
"captureBody": {
|
|
1929
|
+
"type": "boolean"
|
|
1930
|
+
},
|
|
1931
|
+
"redactInput": {
|
|
1932
|
+
"description": "May enable redaction, never disable it.",
|
|
1933
|
+
"type": "boolean",
|
|
1934
|
+
"const": true
|
|
1935
|
+
},
|
|
1936
|
+
"maxBodyBytes": {
|
|
1937
|
+
"type": "integer",
|
|
1938
|
+
"minimum": 0,
|
|
1939
|
+
"maximum": 9007199254740991
|
|
1940
|
+
},
|
|
1941
|
+
"feedLimit": {
|
|
1942
|
+
"type": "integer",
|
|
1943
|
+
"exclusiveMinimum": 0,
|
|
1944
|
+
"maximum": 10000
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
"additionalProperties": false
|
|
1948
|
+
},
|
|
1949
|
+
"memory": {
|
|
1950
|
+
"type": "object",
|
|
1951
|
+
"properties": {
|
|
1952
|
+
"enabled": {
|
|
1953
|
+
"type": "boolean"
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"additionalProperties": false
|
|
1957
|
+
},
|
|
1958
|
+
"disableUpdateCheck": {
|
|
1959
|
+
"type": "boolean"
|
|
1960
|
+
}
|
|
1961
|
+
},
|
|
1962
|
+
"additionalProperties": false,
|
|
1963
|
+
"description": "Only the fields to change; omitted values are preserved."
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
"required": ["changes"],
|
|
1967
|
+
"additionalProperties": false
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"name": "update_mcp_settings",
|
|
1972
|
+
"title": "Safely Update MCP Settings",
|
|
1973
|
+
"risk": "write",
|
|
1974
|
+
"annotations": {
|
|
1975
|
+
"destructiveHint": false,
|
|
1976
|
+
"openWorldHint": false
|
|
1977
|
+
},
|
|
1978
|
+
"description": "Apply explicitly user-approved MCP host settings, not RouterOS configuration. First get_mcp_settings_schema and preview_mcp_settings; supply that revision and confirm=true. Backs up the source JSON, persists the full config and arms a 30–600s in-process rollback (default 60s). Normal files use atomic replacement; a single-file Docker bind mount uses a backed-up in-place write that is not crash-atomic. Conflicts with another pending dashboard/tool edit are rejected. Verify configured values with get_mcp_settings, then confirm_mcp_settings before the deadline or rollback_mcp_settings. Never restart while pending: the rollback timer does not survive process exit. Restart-required settings are only fully activated after confirmation and a separate operator-controlled restart. Does not widen access scopes or change router addresses/credentials.",
|
|
1979
|
+
"inputSchema": {
|
|
1980
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1981
|
+
"type": "object",
|
|
1982
|
+
"properties": {
|
|
1983
|
+
"changes": {
|
|
1984
|
+
"type": "object",
|
|
1985
|
+
"properties": {
|
|
1986
|
+
"mcp": {
|
|
1987
|
+
"type": "object",
|
|
1988
|
+
"properties": {
|
|
1989
|
+
"toolPageSize": {
|
|
1990
|
+
"type": "integer",
|
|
1991
|
+
"minimum": 0,
|
|
1992
|
+
"maximum": 9007199254740991
|
|
1993
|
+
},
|
|
1994
|
+
"appViews": {
|
|
1995
|
+
"type": "boolean"
|
|
1996
|
+
},
|
|
1997
|
+
"capabilityGating": {
|
|
1998
|
+
"type": "string",
|
|
1999
|
+
"enum": ["off", "annotate", "filter"]
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
"additionalProperties": false
|
|
2003
|
+
},
|
|
2004
|
+
"ssh": {
|
|
2005
|
+
"type": "object",
|
|
2006
|
+
"properties": {
|
|
2007
|
+
"keepAlive": {
|
|
2008
|
+
"type": "boolean"
|
|
2009
|
+
},
|
|
2010
|
+
"keepAliveInterval": {
|
|
2011
|
+
"type": "integer",
|
|
2012
|
+
"minimum": 0,
|
|
2013
|
+
"maximum": 9007199254740991
|
|
2014
|
+
},
|
|
2015
|
+
"idleTimeout": {
|
|
2016
|
+
"type": "integer",
|
|
2017
|
+
"exclusiveMinimum": 0,
|
|
2018
|
+
"maximum": 9007199254740991
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
"additionalProperties": false
|
|
2022
|
+
},
|
|
2023
|
+
"dashboard": {
|
|
2024
|
+
"type": "object",
|
|
2025
|
+
"properties": {
|
|
2026
|
+
"maxEvents": {
|
|
2027
|
+
"type": "integer",
|
|
2028
|
+
"exclusiveMinimum": 0,
|
|
2029
|
+
"maximum": 9007199254740991
|
|
2030
|
+
},
|
|
2031
|
+
"captureBody": {
|
|
2032
|
+
"type": "boolean"
|
|
2033
|
+
},
|
|
2034
|
+
"redactInput": {
|
|
2035
|
+
"description": "May enable redaction, never disable it.",
|
|
2036
|
+
"type": "boolean",
|
|
2037
|
+
"const": true
|
|
2038
|
+
},
|
|
2039
|
+
"maxBodyBytes": {
|
|
2040
|
+
"type": "integer",
|
|
2041
|
+
"minimum": 0,
|
|
2042
|
+
"maximum": 9007199254740991
|
|
2043
|
+
},
|
|
2044
|
+
"feedLimit": {
|
|
2045
|
+
"type": "integer",
|
|
2046
|
+
"exclusiveMinimum": 0,
|
|
2047
|
+
"maximum": 10000
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
"additionalProperties": false
|
|
2051
|
+
},
|
|
2052
|
+
"memory": {
|
|
2053
|
+
"type": "object",
|
|
2054
|
+
"properties": {
|
|
2055
|
+
"enabled": {
|
|
2056
|
+
"type": "boolean"
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
"additionalProperties": false
|
|
2060
|
+
},
|
|
2061
|
+
"disableUpdateCheck": {
|
|
2062
|
+
"type": "boolean"
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
2065
|
+
"additionalProperties": false
|
|
2066
|
+
},
|
|
2067
|
+
"revision": {
|
|
2068
|
+
"type": "string",
|
|
2069
|
+
"minLength": 64,
|
|
2070
|
+
"maxLength": 64,
|
|
2071
|
+
"description": "Current revision from get_mcp_settings or preview_mcp_settings."
|
|
1276
2072
|
},
|
|
1277
|
-
"
|
|
1278
|
-
"
|
|
1279
|
-
"
|
|
2073
|
+
"confirm": {
|
|
2074
|
+
"type": "boolean",
|
|
2075
|
+
"const": true,
|
|
2076
|
+
"description": "Only set after the user authorizes these exact changes."
|
|
2077
|
+
},
|
|
2078
|
+
"rollback_seconds": {
|
|
2079
|
+
"default": 60,
|
|
2080
|
+
"type": "integer",
|
|
2081
|
+
"minimum": 30,
|
|
2082
|
+
"maximum": 600
|
|
1280
2083
|
}
|
|
1281
2084
|
},
|
|
1282
|
-
"required": ["
|
|
2085
|
+
"required": ["changes", "revision", "confirm", "rollback_seconds"],
|
|
1283
2086
|
"additionalProperties": false
|
|
1284
2087
|
}
|
|
1285
2088
|
},
|
|
1286
2089
|
{
|
|
1287
|
-
"name": "
|
|
1288
|
-
"title": "
|
|
1289
|
-
"risk": "
|
|
2090
|
+
"name": "confirm_mcp_settings",
|
|
2091
|
+
"title": "Keep a Pending MCP Settings Change",
|
|
2092
|
+
"risk": "write",
|
|
1290
2093
|
"annotations": {
|
|
1291
|
-
"
|
|
1292
|
-
"idempotentHint": true,
|
|
2094
|
+
"destructiveHint": false,
|
|
1293
2095
|
"openWorldHint": false
|
|
1294
2096
|
},
|
|
1295
|
-
"description": "
|
|
2097
|
+
"description": "Keep the exact pending change created by update_mcp_settings after reading back its values. Cancels its rollback timer. Requires the current revision and pending_id; cannot confirm dashboard-owned, expired or superseded changes. Does not restart the MCP server or contact routers.",
|
|
1296
2098
|
"inputSchema": {
|
|
1297
2099
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1298
2100
|
"type": "object",
|
|
1299
2101
|
"properties": {
|
|
1300
|
-
"
|
|
1301
|
-
"
|
|
1302
|
-
"
|
|
1303
|
-
},
|
|
1304
|
-
"after_snapshot_id": {
|
|
1305
|
-
"description": "The later snapshot",
|
|
1306
|
-
"type": "string"
|
|
1307
|
-
},
|
|
1308
|
-
"before_text": {
|
|
1309
|
-
"description": "The earlier `/export` text",
|
|
1310
|
-
"type": "string"
|
|
2102
|
+
"pending_id": {
|
|
2103
|
+
"type": "string",
|
|
2104
|
+
"minLength": 1
|
|
1311
2105
|
},
|
|
1312
|
-
"
|
|
1313
|
-
"
|
|
1314
|
-
"
|
|
2106
|
+
"revision": {
|
|
2107
|
+
"type": "string",
|
|
2108
|
+
"minLength": 64,
|
|
2109
|
+
"maxLength": 64,
|
|
2110
|
+
"description": "Revision returned by update_mcp_settings or get_mcp_settings."
|
|
1315
2111
|
}
|
|
1316
2112
|
},
|
|
2113
|
+
"required": ["pending_id", "revision"],
|
|
1317
2114
|
"additionalProperties": false
|
|
1318
2115
|
}
|
|
1319
2116
|
},
|
|
1320
2117
|
{
|
|
1321
|
-
"name": "
|
|
1322
|
-
"title": "
|
|
1323
|
-
"risk": "
|
|
2118
|
+
"name": "rollback_mcp_settings",
|
|
2119
|
+
"title": "Revert a Pending MCP Settings Change",
|
|
2120
|
+
"risk": "write",
|
|
1324
2121
|
"annotations": {
|
|
1325
|
-
"
|
|
1326
|
-
"idempotentHint": true,
|
|
2122
|
+
"destructiveHint": false,
|
|
1327
2123
|
"openWorldHint": false
|
|
1328
2124
|
},
|
|
1329
|
-
"description": "
|
|
2125
|
+
"description": "Restore the host-side config backup for a still-pending update_mcp_settings change. Requires its pending_id and current revision. Refuses dashboard-owned transactions or changes that would overwrite newer configuration. Restores configured values only; no router changes, server restart or deletion of knowledge data.",
|
|
1330
2126
|
"inputSchema": {
|
|
1331
2127
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1332
2128
|
"type": "object",
|
|
1333
2129
|
"properties": {
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
2130
|
+
"pending_id": {
|
|
2131
|
+
"type": "string",
|
|
2132
|
+
"minLength": 1
|
|
2133
|
+
},
|
|
2134
|
+
"revision": {
|
|
2135
|
+
"type": "string",
|
|
2136
|
+
"minLength": 64,
|
|
2137
|
+
"maxLength": 64,
|
|
2138
|
+
"description": "Revision returned by update_mcp_settings or get_mcp_settings."
|
|
1337
2139
|
}
|
|
1338
2140
|
},
|
|
2141
|
+
"required": ["pending_id", "revision"],
|
|
1339
2142
|
"additionalProperties": false
|
|
1340
2143
|
}
|
|
1341
2144
|
},
|
|
@@ -1751,7 +2554,7 @@
|
|
|
1751
2554
|
"destructiveHint": false,
|
|
1752
2555
|
"openWorldHint": false
|
|
1753
2556
|
},
|
|
1754
|
-
"description": "Creates an 802.1Q VLAN sub-interface (`/interface vlan`) on a specified parent physical or bridge interface.
|
|
2557
|
+
"description": "Creates an 802.1Q VLAN sub-interface (`/interface vlan`) on a specified parent physical or bridge interface. This creates only a VLAN sub-interface, NOT bridge port membership, PVID, firewall isolation or SSID mapping. For a bridge member use the bridge as routed parent; read get_vlan_segmentation_guide before migration. Set `use_service_tag=true` for 802.1ad QinQ double-tagging. For listing existing VLAN interfaces use `list_vlan_interfaces`; for editing an existing VLAN use `update_vlan_interface`. Returns the created interface's full detail including its name, which is the identifier accepted by `get_vlan_interface`, `update_vlan_interface`, and `remove_vlan_interface`. ARP mode accepts: enabled (default), disabled, proxy-arp, reply-only.",
|
|
1755
2558
|
"inputSchema": {
|
|
1756
2559
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1757
2560
|
"type": "object",
|
|
@@ -1964,15 +2767,47 @@
|
|
|
1964
2767
|
"additionalProperties": false
|
|
1965
2768
|
}
|
|
1966
2769
|
},
|
|
2770
|
+
{
|
|
2771
|
+
"name": "get_vlan_segmentation_guide",
|
|
2772
|
+
"title": "Read VLAN Segmentation Knowledge",
|
|
2773
|
+
"risk": "read",
|
|
2774
|
+
"annotations": {
|
|
2775
|
+
"readOnlyHint": true,
|
|
2776
|
+
"idempotentHint": true,
|
|
2777
|
+
"openWorldHint": false
|
|
2778
|
+
},
|
|
2779
|
+
"description": "Read the RouterOS homelab VLAN design guide before VLAN, guest Wi-Fi, IoT or management-network work. Covers bridge CPU/tagged/untagged/PVID, dual-stack IPv4/IPv6 isolation, SSIDs/CAPsMAN, VPN return routing, Safe Mode/rollback, validation and clean Device/Group/Shared memory. Reference only; no router contact, live audit, memory write or authorization. Select a topic for concise guidance, or all for the full checklist.",
|
|
2780
|
+
"inputSchema": {
|
|
2781
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2782
|
+
"type": "object",
|
|
2783
|
+
"properties": {
|
|
2784
|
+
"topic": {
|
|
2785
|
+
"default": "all",
|
|
2786
|
+
"type": "string",
|
|
2787
|
+
"enum": [
|
|
2788
|
+
"all",
|
|
2789
|
+
"overview",
|
|
2790
|
+
"discovery",
|
|
2791
|
+
"layer2",
|
|
2792
|
+
"policy",
|
|
2793
|
+
"migration",
|
|
2794
|
+
"verification"
|
|
2795
|
+
]
|
|
2796
|
+
}
|
|
2797
|
+
},
|
|
2798
|
+
"required": ["topic"],
|
|
2799
|
+
"additionalProperties": false
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
1967
2802
|
{
|
|
1968
2803
|
"name": "design_network_segment",
|
|
1969
|
-
"title": "
|
|
2804
|
+
"title": "Preview or Build Partial IPv4 VLAN Scaffolding",
|
|
1970
2805
|
"risk": "dangerous",
|
|
1971
2806
|
"annotations": {
|
|
1972
2807
|
"destructiveHint": true,
|
|
1973
2808
|
"openWorldHint": false
|
|
1974
2809
|
},
|
|
1975
|
-
"description": "
|
|
2810
|
+
"description": "Preview partial IPv4 VLAN interface/gateway/DHCP scaffolding (apply=false, no router I/O). Read get_vlan_segmentation_guide first. Does NOT produce a complete isolated network. Optional NAT requires explicit wan_interface; isolation drops require a reviewed isolation_before .id. Bridge membership includes the CPU when ports are supplied, but port PVID/admission, filtering, Wi-Fi, INPUT and IPv6 policies remain separate work. apply=true runs sequential non-idempotent writes only after explicit approval, backup and a protected management/Safe Mode plan; failures may leave partial state. Read back and test clients; never retry blindly or claim isolation from command success.",
|
|
1976
2811
|
"inputSchema": {
|
|
1977
2812
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1978
2813
|
"type": "object",
|
|
@@ -1989,11 +2824,15 @@
|
|
|
1989
2824
|
},
|
|
1990
2825
|
"subnet": {
|
|
1991
2826
|
"type": "string",
|
|
1992
|
-
"
|
|
2827
|
+
"format": "cidrv4",
|
|
2828
|
+
"pattern": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$",
|
|
2829
|
+
"description": "Canonical IPv4 network CIDR, e.g. '192.168.30.0/24'"
|
|
1993
2830
|
},
|
|
1994
2831
|
"gateway": {
|
|
1995
2832
|
"type": "string",
|
|
1996
|
-
"
|
|
2833
|
+
"format": "ipv4",
|
|
2834
|
+
"pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
|
|
2835
|
+
"description": "Usable router address inside the subnet, excluded from the DHCP pool"
|
|
1997
2836
|
},
|
|
1998
2837
|
"bridge": {
|
|
1999
2838
|
"default": "bridge",
|
|
@@ -2001,7 +2840,7 @@
|
|
|
2001
2840
|
"type": "string"
|
|
2002
2841
|
},
|
|
2003
2842
|
"tagged_ports": {
|
|
2004
|
-
"description": "Comma-separated
|
|
2843
|
+
"description": "Comma-separated verified tagged ports; the bridge/CPU is included once automatically",
|
|
2005
2844
|
"type": "string"
|
|
2006
2845
|
},
|
|
2007
2846
|
"untagged_ports": {
|
|
@@ -2014,21 +2853,33 @@
|
|
|
2014
2853
|
"type": "boolean"
|
|
2015
2854
|
},
|
|
2016
2855
|
"dhcp_range": {
|
|
2017
|
-
"description": "
|
|
2856
|
+
"description": "Single start-end IPv4 range excluding gateway/network/broadcast. Required outside /24; /24 defaults to .10–.254",
|
|
2018
2857
|
"type": "string"
|
|
2019
2858
|
},
|
|
2020
2859
|
"internet": {
|
|
2021
2860
|
"default": true,
|
|
2022
|
-
"description": "
|
|
2861
|
+
"description": "Add egress-scoped IPv4 masquerade (requires wan_interface); not a firewall allow. Set false to reuse existing NAT",
|
|
2023
2862
|
"type": "boolean"
|
|
2024
2863
|
},
|
|
2864
|
+
"wan_interface": {
|
|
2865
|
+
"description": "Verified egress interface for new masquerade. Required when internet=true; never inferred",
|
|
2866
|
+
"type": "string",
|
|
2867
|
+
"minLength": 1
|
|
2868
|
+
},
|
|
2025
2869
|
"isolate_from": {
|
|
2026
2870
|
"description": "Subnets this segment must NOT reach, e.g. ['192.168.1.0/24']",
|
|
2027
2871
|
"type": "array",
|
|
2028
2872
|
"items": {
|
|
2029
|
-
"type": "string"
|
|
2873
|
+
"type": "string",
|
|
2874
|
+
"format": "cidrv4",
|
|
2875
|
+
"pattern": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$"
|
|
2030
2876
|
}
|
|
2031
2877
|
},
|
|
2878
|
+
"isolation_before": {
|
|
2879
|
+
"description": "Current enabled forward rule .id from a fresh read; insert drops before this reviewed rule, not after broad accepts. Required with isolate_from",
|
|
2880
|
+
"type": "string",
|
|
2881
|
+
"pattern": "^\\*[0-9a-f]+$"
|
|
2882
|
+
},
|
|
2032
2883
|
"apply": {
|
|
2033
2884
|
"default": false,
|
|
2034
2885
|
"description": "false = preview (default); true = build",
|
|
@@ -2047,7 +2898,7 @@
|
|
|
2047
2898
|
"destructiveHint": false,
|
|
2048
2899
|
"openWorldHint": false
|
|
2049
2900
|
},
|
|
2050
|
-
"description": "Creates a bridge interface (`/interface bridge`) — combines multiple interfaces into a Layer-2 switch domain.
|
|
2901
|
+
"description": "Creates a bridge interface (`/interface bridge`) — combines multiple interfaces into a Layer-2 switch domain. For VLAN migration read get_vlan_segmentation_guide first. Stage a new bridge with filtering off; enable it LAST after VLAN membership and protected management access are ready. Set `protocol_mode` for STP/RSTP/MSTP spanning-tree. For adding a member interface to an existing bridge use `add_bridge_port`; for standalone 802.1Q VLAN sub-interfaces use `create_vlan_interface`. Returns the created bridge's full detail including its `.id`.",
|
|
2051
2902
|
"inputSchema": {
|
|
2052
2903
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2053
2904
|
"type": "object",
|
|
@@ -2216,7 +3067,7 @@
|
|
|
2216
3067
|
"idempotentHint": true,
|
|
2217
3068
|
"openWorldHint": false
|
|
2218
3069
|
},
|
|
2219
|
-
"description": "Modifies settings on an existing bridge interface (`/interface bridge set`). Use to rename a bridge (`new_name`), toggle VLAN filtering, change STP/RSTP/MSTP protocol mode, adjust MTU, or enable/disable the bridge. For adding or removing member interfaces use `add_bridge_port` / `remove_bridge_port`; for VLAN table entries use `add_bridge_vlan`. Identified by the current bridge `name`; supply only the fields you want to change.",
|
|
3070
|
+
"description": "Modifies settings on an existing bridge interface (`/interface bridge set`). Use to rename a bridge (`new_name`), toggle VLAN filtering, change STP/RSTP/MSTP protocol mode, adjust MTU, or enable/disable the bridge. VLAN filtering can interrupt management: read get_vlan_segmentation_guide, verify CPU membership, PVID/admission and recovery access before enabling it LAST. Do not disable existing filtering to simplify migration. For adding or removing member interfaces use `add_bridge_port` / `remove_bridge_port`; for VLAN table entries use `add_bridge_vlan`. Identified by the current bridge `name`; supply only the fields you want to change.",
|
|
2220
3071
|
"inputSchema": {
|
|
2221
3072
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2222
3073
|
"type": "object",
|
|
@@ -2571,7 +3422,7 @@
|
|
|
2571
3422
|
"destructiveHint": false,
|
|
2572
3423
|
"openWorldHint": false
|
|
2573
3424
|
},
|
|
2574
|
-
"description": "Adds a VLAN membership entry to a bridge's 802.1Q VLAN table (`/interface bridge vlan add`). Use to define which ports carry a specific VLAN as tagged (trunk) or untagged (access).
|
|
3425
|
+
"description": "Adds a VLAN membership entry to a bridge's 802.1Q VLAN table (`/interface bridge vlan add`). Use to define which ports carry a specific VLAN as tagged (trunk) or untagged (access). Entries can be staged BEFORE enabling filtering; filtering enforces membership and should be enabled LAST after management is protected. For routed VLANs verify tagged bridge/CPU membership. Use one VLAN ID per entry containing access ports and align their PVID/admission; read get_vlan_segmentation_guide first. `vlan_ids` accepts a single ID (e.g. '100') or comma-separated list (e.g. '100,200'); `tagged` and `untagged` accept comma-separated interface names. For standalone 802.1Q VLAN sub-interfaces use `create_vlan_interface`; for listing existing VLAN table entries use `list_bridge_vlans`; for setting per-port native VLAN use the `pvid` parameter in `add_bridge_port`.",
|
|
2575
3426
|
"inputSchema": {
|
|
2576
3427
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2577
3428
|
"type": "object",
|
|
@@ -30901,6 +31752,38 @@
|
|
|
30901
31752
|
"additionalProperties": false
|
|
30902
31753
|
}
|
|
30903
31754
|
},
|
|
31755
|
+
{
|
|
31756
|
+
"name": "get_routeros_container_guide",
|
|
31757
|
+
"title": "Get RouterOS Container Guide",
|
|
31758
|
+
"risk": "read",
|
|
31759
|
+
"annotations": {
|
|
31760
|
+
"readOnlyHint": true,
|
|
31761
|
+
"idempotentHint": true,
|
|
31762
|
+
"openWorldHint": false
|
|
31763
|
+
},
|
|
31764
|
+
"description": "Read shared version-aware container knowledge: prerequisites, image compatibility, VETH isolation, lifecycle, secrets and troubleshooting. No device access. Use before auditing, deploying or changing containers.",
|
|
31765
|
+
"inputSchema": {
|
|
31766
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31767
|
+
"type": "object",
|
|
31768
|
+
"properties": {
|
|
31769
|
+
"topic": {
|
|
31770
|
+
"default": "all",
|
|
31771
|
+
"type": "string",
|
|
31772
|
+
"enum": [
|
|
31773
|
+
"all",
|
|
31774
|
+
"prerequisites",
|
|
31775
|
+
"images",
|
|
31776
|
+
"networking",
|
|
31777
|
+
"lifecycle",
|
|
31778
|
+
"security",
|
|
31779
|
+
"troubleshooting"
|
|
31780
|
+
]
|
|
31781
|
+
}
|
|
31782
|
+
},
|
|
31783
|
+
"required": ["topic"],
|
|
31784
|
+
"additionalProperties": false
|
|
31785
|
+
}
|
|
31786
|
+
},
|
|
30904
31787
|
{
|
|
30905
31788
|
"name": "list_containers",
|
|
30906
31789
|
"title": "List Containers",
|
|
@@ -30910,26 +31793,24 @@
|
|
|
30910
31793
|
"idempotentHint": true,
|
|
30911
31794
|
"openWorldHint": false
|
|
30912
31795
|
},
|
|
30913
|
-
"description": "
|
|
31796
|
+
"description": "Discover container .ids, exact names/tags and lifecycle status/flags. Pull/start/stop are asynchronous; running is not application health. Sensitive env/command/config fields are masked. Use get_routeros_container_guide before changes.",
|
|
30914
31797
|
"inputSchema": {
|
|
30915
31798
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
30916
31799
|
"type": "object",
|
|
30917
31800
|
"properties": {
|
|
30918
31801
|
"name_filter": {
|
|
30919
|
-
"description": "
|
|
31802
|
+
"description": "RouterOS name regex, escaped as a command value",
|
|
30920
31803
|
"type": "string"
|
|
30921
31804
|
},
|
|
30922
31805
|
"tag_filter": {
|
|
30923
|
-
"description": "Partial image tag match",
|
|
30924
31806
|
"type": "string"
|
|
30925
31807
|
},
|
|
30926
31808
|
"status_filter": {
|
|
30927
|
-
"description": "
|
|
31809
|
+
"description": "Legacy status regex; newer releases may expose flags instead",
|
|
30928
31810
|
"type": "string"
|
|
30929
31811
|
},
|
|
30930
31812
|
"detail": {
|
|
30931
31813
|
"default": false,
|
|
30932
|
-
"description": "Show the full per-container property block",
|
|
30933
31814
|
"type": "boolean"
|
|
30934
31815
|
}
|
|
30935
31816
|
},
|
|
@@ -30946,18 +31827,25 @@
|
|
|
30946
31827
|
"idempotentHint": true,
|
|
30947
31828
|
"openWorldHint": false
|
|
30948
31829
|
},
|
|
30949
|
-
"description": "
|
|
31830
|
+
"description": "Read one exact, unique container by stable id, name or exact tag; rejects ambiguity. Sensitive env, command and image-config fields are masked. Missing state is unknown, not stopped.",
|
|
30950
31831
|
"inputSchema": {
|
|
30951
31832
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
30952
31833
|
"type": "object",
|
|
30953
31834
|
"properties": {
|
|
31835
|
+
"id": {
|
|
31836
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
31837
|
+
"type": "string",
|
|
31838
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
31839
|
+
},
|
|
30954
31840
|
"name": {
|
|
30955
|
-
"description": "
|
|
30956
|
-
"type": "string"
|
|
31841
|
+
"description": "Exact unique container name",
|
|
31842
|
+
"type": "string",
|
|
31843
|
+
"minLength": 1
|
|
30957
31844
|
},
|
|
30958
31845
|
"tag": {
|
|
30959
|
-
"description": "
|
|
30960
|
-
"type": "string"
|
|
31846
|
+
"description": "Exact unique image tag, not a regex; prefer id when images are shared",
|
|
31847
|
+
"type": "string",
|
|
31848
|
+
"minLength": 1
|
|
30961
31849
|
}
|
|
30962
31850
|
},
|
|
30963
31851
|
"additionalProperties": false
|
|
@@ -30971,97 +31859,109 @@
|
|
|
30971
31859
|
"destructiveHint": false,
|
|
30972
31860
|
"openWorldHint": false
|
|
30973
31861
|
},
|
|
30974
|
-
"description": "Create
|
|
31862
|
+
"description": "Create one container after approved prerequisite, image/storage and network review. Requires exactly one image source, a unique name, VETH and dedicated root_dir. No package installation, device-mode, NAT or firewall changes are implicit. Use supported image-save archives; no blanket single-layer restriction. Explicit legacy envlist/mounts aliases are available; inspect target syntax before writing. Returns a pending extraction request, not a healthy deployment; poll before starting.",
|
|
30975
31863
|
"inputSchema": {
|
|
30976
31864
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
30977
31865
|
"type": "object",
|
|
30978
31866
|
"properties": {
|
|
30979
|
-
"name": {
|
|
30980
|
-
"description": "Container name (recommended for management)",
|
|
30981
|
-
"type": "string"
|
|
30982
|
-
},
|
|
30983
|
-
"remote_image": {
|
|
30984
|
-
"description": "Registry image, e.g. 'library/alpine:latest'",
|
|
30985
|
-
"type": "string"
|
|
30986
|
-
},
|
|
30987
|
-
"file": {
|
|
30988
|
-
"description": "Local Docker-v1 tar on the device (alternative to remote_image)",
|
|
30989
|
-
"type": "string"
|
|
30990
|
-
},
|
|
30991
31867
|
"interface": {
|
|
30992
|
-
"
|
|
30993
|
-
"
|
|
31868
|
+
"type": "string",
|
|
31869
|
+
"minLength": 1,
|
|
31870
|
+
"description": "Previously configured VETH"
|
|
30994
31871
|
},
|
|
30995
31872
|
"root_dir": {
|
|
30996
|
-
"
|
|
30997
|
-
"
|
|
31873
|
+
"type": "string",
|
|
31874
|
+
"minLength": 1,
|
|
31875
|
+
"description": "Dedicated root path on verified storage"
|
|
30998
31876
|
},
|
|
30999
31877
|
"env": {
|
|
31000
|
-
"description": "
|
|
31878
|
+
"description": "Sensitive inline environment; verify support on the target",
|
|
31001
31879
|
"type": "string"
|
|
31002
31880
|
},
|
|
31003
31881
|
"envlists": {
|
|
31004
|
-
"description": "
|
|
31882
|
+
"description": "Current CLI named environment lists",
|
|
31883
|
+
"type": "string"
|
|
31884
|
+
},
|
|
31885
|
+
"envlist": {
|
|
31886
|
+
"description": "Legacy singular envlist; exclusive with envlists",
|
|
31005
31887
|
"type": "string"
|
|
31006
31888
|
},
|
|
31007
31889
|
"mount": {
|
|
31008
|
-
"description": "Inline mount
|
|
31890
|
+
"description": "Inline mount expression supported by the target; not Docker syntax",
|
|
31009
31891
|
"type": "string"
|
|
31010
31892
|
},
|
|
31011
31893
|
"mountlists": {
|
|
31012
|
-
"description": "
|
|
31894
|
+
"description": "Current CLI named mount lists",
|
|
31895
|
+
"type": "string"
|
|
31896
|
+
},
|
|
31897
|
+
"mounts": {
|
|
31898
|
+
"description": "Legacy mounts reference; exclusive with mountlists",
|
|
31013
31899
|
"type": "string"
|
|
31014
31900
|
},
|
|
31015
31901
|
"cmd": {
|
|
31016
|
-
"description": "
|
|
31902
|
+
"description": "Command override; may contain secrets",
|
|
31017
31903
|
"type": "string"
|
|
31018
31904
|
},
|
|
31019
31905
|
"entrypoint": {
|
|
31020
|
-
"description": "
|
|
31906
|
+
"description": "Entrypoint override; may contain secrets",
|
|
31021
31907
|
"type": "string"
|
|
31022
31908
|
},
|
|
31023
31909
|
"workdir": {
|
|
31024
|
-
"description": "Override working directory",
|
|
31025
31910
|
"type": "string"
|
|
31026
31911
|
},
|
|
31027
31912
|
"hostname": {
|
|
31028
31913
|
"type": "string"
|
|
31029
31914
|
},
|
|
31030
31915
|
"dns": {
|
|
31031
|
-
"description": "DNS server for the container",
|
|
31032
31916
|
"type": "string"
|
|
31033
31917
|
},
|
|
31034
31918
|
"user": {
|
|
31035
31919
|
"type": "string"
|
|
31036
31920
|
},
|
|
31037
31921
|
"stop_signal": {
|
|
31038
|
-
"description": "Signal used to stop the container",
|
|
31039
31922
|
"type": "string"
|
|
31040
31923
|
},
|
|
31041
31924
|
"devices": {
|
|
31042
|
-
"description": "
|
|
31925
|
+
"description": "Device passthrough; extra privilege requires explicit review",
|
|
31043
31926
|
"type": "string"
|
|
31044
31927
|
},
|
|
31045
31928
|
"cpu_list": {
|
|
31046
|
-
"description": "CPU core affinity",
|
|
31047
31929
|
"type": "string"
|
|
31048
31930
|
},
|
|
31049
31931
|
"memory_high": {
|
|
31050
|
-
"description": "
|
|
31932
|
+
"description": "Soft memory pressure threshold, not a hard cap",
|
|
31933
|
+
"type": "string"
|
|
31934
|
+
},
|
|
31935
|
+
"memory_max": {
|
|
31936
|
+
"description": "Hard memory limit only where supported; can terminate processes",
|
|
31051
31937
|
"type": "string"
|
|
31052
31938
|
},
|
|
31053
31939
|
"logging": {
|
|
31054
|
-
"description": "Send stdout/stderr to the RouterOS log",
|
|
31055
31940
|
"type": "boolean"
|
|
31056
31941
|
},
|
|
31057
31942
|
"start_on_boot": {
|
|
31058
|
-
"description": "Auto-start on device boot",
|
|
31059
31943
|
"type": "boolean"
|
|
31060
31944
|
},
|
|
31061
31945
|
"comment": {
|
|
31062
31946
|
"type": "string"
|
|
31947
|
+
},
|
|
31948
|
+
"name": {
|
|
31949
|
+
"type": "string",
|
|
31950
|
+
"minLength": 1,
|
|
31951
|
+
"description": "Unique name for read-back and ambiguous-write recovery"
|
|
31952
|
+
},
|
|
31953
|
+
"remote_image": {
|
|
31954
|
+
"description": "Reviewed architecture-compatible image with pinned version/digest",
|
|
31955
|
+
"type": "string",
|
|
31956
|
+
"minLength": 1
|
|
31957
|
+
},
|
|
31958
|
+
"file": {
|
|
31959
|
+
"description": "Uploaded Docker/Podman saved image archive supported by the target",
|
|
31960
|
+
"type": "string",
|
|
31961
|
+
"minLength": 1
|
|
31063
31962
|
}
|
|
31064
31963
|
},
|
|
31964
|
+
"required": ["interface", "root_dir", "name"],
|
|
31065
31965
|
"additionalProperties": false
|
|
31066
31966
|
}
|
|
31067
31967
|
},
|
|
@@ -31074,41 +31974,66 @@
|
|
|
31074
31974
|
"idempotentHint": true,
|
|
31075
31975
|
"openWorldHint": false
|
|
31076
31976
|
},
|
|
31077
|
-
"description": "
|
|
31977
|
+
"description": "Update exactly one container. Runtime settings require positive fully-stopped evidence; logging, comment and start_on_boot can change without stopping. Named env/mount lists can affect other consumers. Inspect target syntax; no automatic compatibility retries.",
|
|
31078
31978
|
"inputSchema": {
|
|
31079
31979
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31080
31980
|
"type": "object",
|
|
31081
31981
|
"properties": {
|
|
31982
|
+
"id": {
|
|
31983
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
31984
|
+
"type": "string",
|
|
31985
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
31986
|
+
},
|
|
31082
31987
|
"name": {
|
|
31083
|
-
"description": "
|
|
31084
|
-
"type": "string"
|
|
31988
|
+
"description": "Exact unique container name",
|
|
31989
|
+
"type": "string",
|
|
31990
|
+
"minLength": 1
|
|
31085
31991
|
},
|
|
31086
31992
|
"tag": {
|
|
31087
|
-
"description": "
|
|
31088
|
-
"type": "string"
|
|
31993
|
+
"description": "Exact unique image tag, not a regex; prefer id when images are shared",
|
|
31994
|
+
"type": "string",
|
|
31995
|
+
"minLength": 1
|
|
31089
31996
|
},
|
|
31090
31997
|
"interface": {
|
|
31091
|
-
"
|
|
31998
|
+
"description": "VETH interface(s); verify target syntax and image interface names",
|
|
31999
|
+
"type": "string",
|
|
32000
|
+
"minLength": 1
|
|
31092
32001
|
},
|
|
31093
32002
|
"root_dir": {
|
|
31094
|
-
"
|
|
32003
|
+
"description": "Dedicated root path on appropriate storage, not internal flash",
|
|
32004
|
+
"type": "string",
|
|
32005
|
+
"minLength": 1
|
|
31095
32006
|
},
|
|
31096
32007
|
"env": {
|
|
32008
|
+
"description": "Sensitive inline environment; verify support on the target",
|
|
31097
32009
|
"type": "string"
|
|
31098
32010
|
},
|
|
31099
32011
|
"envlists": {
|
|
32012
|
+
"description": "Current CLI named environment lists",
|
|
32013
|
+
"type": "string"
|
|
32014
|
+
},
|
|
32015
|
+
"envlist": {
|
|
32016
|
+
"description": "Legacy singular envlist; exclusive with envlists",
|
|
31100
32017
|
"type": "string"
|
|
31101
32018
|
},
|
|
31102
32019
|
"mount": {
|
|
32020
|
+
"description": "Inline mount expression supported by the target; not Docker syntax",
|
|
31103
32021
|
"type": "string"
|
|
31104
32022
|
},
|
|
31105
32023
|
"mountlists": {
|
|
32024
|
+
"description": "Current CLI named mount lists",
|
|
32025
|
+
"type": "string"
|
|
32026
|
+
},
|
|
32027
|
+
"mounts": {
|
|
32028
|
+
"description": "Legacy mounts reference; exclusive with mountlists",
|
|
31106
32029
|
"type": "string"
|
|
31107
32030
|
},
|
|
31108
32031
|
"cmd": {
|
|
32032
|
+
"description": "Command override; may contain secrets",
|
|
31109
32033
|
"type": "string"
|
|
31110
32034
|
},
|
|
31111
32035
|
"entrypoint": {
|
|
32036
|
+
"description": "Entrypoint override; may contain secrets",
|
|
31112
32037
|
"type": "string"
|
|
31113
32038
|
},
|
|
31114
32039
|
"workdir": {
|
|
@@ -31120,10 +32045,25 @@
|
|
|
31120
32045
|
"dns": {
|
|
31121
32046
|
"type": "string"
|
|
31122
32047
|
},
|
|
32048
|
+
"user": {
|
|
32049
|
+
"type": "string"
|
|
32050
|
+
},
|
|
32051
|
+
"stop_signal": {
|
|
32052
|
+
"type": "string"
|
|
32053
|
+
},
|
|
32054
|
+
"devices": {
|
|
32055
|
+
"description": "Device passthrough; extra privilege requires explicit review",
|
|
32056
|
+
"type": "string"
|
|
32057
|
+
},
|
|
31123
32058
|
"cpu_list": {
|
|
31124
32059
|
"type": "string"
|
|
31125
32060
|
},
|
|
31126
32061
|
"memory_high": {
|
|
32062
|
+
"description": "Soft memory pressure threshold, not a hard cap",
|
|
32063
|
+
"type": "string"
|
|
32064
|
+
},
|
|
32065
|
+
"memory_max": {
|
|
32066
|
+
"description": "Hard memory limit only where supported; can terminate processes",
|
|
31127
32067
|
"type": "string"
|
|
31128
32068
|
},
|
|
31129
32069
|
"logging": {
|
|
@@ -31147,18 +32087,25 @@
|
|
|
31147
32087
|
"destructiveHint": false,
|
|
31148
32088
|
"openWorldHint": false
|
|
31149
32089
|
},
|
|
31150
|
-
"description": "
|
|
32090
|
+
"description": "start exactly one container by stable id, exact unique name or tag. Start requires positive stopped evidence. Asynchronous: inspect state with bounded polling; accepted does not mean healthy/completed.",
|
|
31151
32091
|
"inputSchema": {
|
|
31152
32092
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31153
32093
|
"type": "object",
|
|
31154
32094
|
"properties": {
|
|
32095
|
+
"id": {
|
|
32096
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
32097
|
+
"type": "string",
|
|
32098
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
32099
|
+
},
|
|
31155
32100
|
"name": {
|
|
31156
|
-
"description": "
|
|
31157
|
-
"type": "string"
|
|
32101
|
+
"description": "Exact unique container name",
|
|
32102
|
+
"type": "string",
|
|
32103
|
+
"minLength": 1
|
|
31158
32104
|
},
|
|
31159
32105
|
"tag": {
|
|
31160
|
-
"description": "
|
|
31161
|
-
"type": "string"
|
|
32106
|
+
"description": "Exact unique image tag, not a regex; prefer id when images are shared",
|
|
32107
|
+
"type": "string",
|
|
32108
|
+
"minLength": 1
|
|
31162
32109
|
}
|
|
31163
32110
|
},
|
|
31164
32111
|
"additionalProperties": false
|
|
@@ -31172,18 +32119,25 @@
|
|
|
31172
32119
|
"destructiveHint": false,
|
|
31173
32120
|
"openWorldHint": false
|
|
31174
32121
|
},
|
|
31175
|
-
"description": "
|
|
32122
|
+
"description": "stop exactly one container by stable id, exact unique name or tag. Start requires positive stopped evidence. Asynchronous: inspect state with bounded polling; accepted does not mean healthy/completed.",
|
|
31176
32123
|
"inputSchema": {
|
|
31177
32124
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31178
32125
|
"type": "object",
|
|
31179
32126
|
"properties": {
|
|
32127
|
+
"id": {
|
|
32128
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
32129
|
+
"type": "string",
|
|
32130
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
32131
|
+
},
|
|
31180
32132
|
"name": {
|
|
31181
|
-
"description": "
|
|
31182
|
-
"type": "string"
|
|
32133
|
+
"description": "Exact unique container name",
|
|
32134
|
+
"type": "string",
|
|
32135
|
+
"minLength": 1
|
|
31183
32136
|
},
|
|
31184
32137
|
"tag": {
|
|
31185
|
-
"description": "
|
|
31186
|
-
"type": "string"
|
|
32138
|
+
"description": "Exact unique image tag, not a regex; prefer id when images are shared",
|
|
32139
|
+
"type": "string",
|
|
32140
|
+
"minLength": 1
|
|
31187
32141
|
}
|
|
31188
32142
|
},
|
|
31189
32143
|
"additionalProperties": false
|
|
@@ -31198,18 +32152,25 @@
|
|
|
31198
32152
|
"idempotentHint": true,
|
|
31199
32153
|
"openWorldHint": false
|
|
31200
32154
|
},
|
|
31201
|
-
"description": "
|
|
32155
|
+
"description": "Remove exactly one container after a positive stopped check. Back up application data first; do not assume root-dir survives removal. Does not separately delete volumes/layers. Verify absence; never blindly retry an ambiguous write.",
|
|
31202
32156
|
"inputSchema": {
|
|
31203
32157
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31204
32158
|
"type": "object",
|
|
31205
32159
|
"properties": {
|
|
32160
|
+
"id": {
|
|
32161
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
32162
|
+
"type": "string",
|
|
32163
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
32164
|
+
},
|
|
31206
32165
|
"name": {
|
|
31207
|
-
"description": "
|
|
31208
|
-
"type": "string"
|
|
32166
|
+
"description": "Exact unique container name",
|
|
32167
|
+
"type": "string",
|
|
32168
|
+
"minLength": 1
|
|
31209
32169
|
},
|
|
31210
32170
|
"tag": {
|
|
31211
|
-
"description": "
|
|
31212
|
-
"type": "string"
|
|
32171
|
+
"description": "Exact unique image tag, not a regex; prefer id when images are shared",
|
|
32172
|
+
"type": "string",
|
|
32173
|
+
"minLength": 1
|
|
31213
32174
|
}
|
|
31214
32175
|
},
|
|
31215
32176
|
"additionalProperties": false
|
|
@@ -31224,7 +32185,7 @@
|
|
|
31224
32185
|
"idempotentHint": true,
|
|
31225
32186
|
"openWorldHint": false
|
|
31226
32187
|
},
|
|
31227
|
-
"description": "Read
|
|
32188
|
+
"description": "Read registry, extraction storage and memory settings. Registry credentials are masked. Settings are router-wide and may affect every container.",
|
|
31228
32189
|
"inputSchema": {
|
|
31229
32190
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31230
32191
|
"type": "object",
|
|
@@ -31241,33 +32202,31 @@
|
|
|
31241
32202
|
"idempotentHint": true,
|
|
31242
32203
|
"openWorldHint": false
|
|
31243
32204
|
},
|
|
31244
|
-
"description": "
|
|
32205
|
+
"description": "Update router-wide registry/extraction/storage/memory settings and read back. Use verified storage and HTTPS registry; may affect other workloads. memory_high is a soft threshold. ram_high is a compatibility input alias for the same RouterOS memory-high property.",
|
|
31245
32206
|
"inputSchema": {
|
|
31246
32207
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31247
32208
|
"type": "object",
|
|
31248
32209
|
"properties": {
|
|
31249
32210
|
"registry_url": {
|
|
31250
|
-
"description": "Image registry URL",
|
|
31251
32211
|
"type": "string"
|
|
31252
32212
|
},
|
|
31253
32213
|
"tmpdir": {
|
|
31254
|
-
"description": "Pull/extract temp dir, e.g. 'disk1/pull'",
|
|
31255
32214
|
"type": "string"
|
|
31256
32215
|
},
|
|
31257
32216
|
"layer_dir": {
|
|
31258
|
-
"
|
|
32217
|
+
"type": "string"
|
|
32218
|
+
},
|
|
32219
|
+
"memory_high": {
|
|
31259
32220
|
"type": "string"
|
|
31260
32221
|
},
|
|
31261
32222
|
"ram_high": {
|
|
31262
|
-
"description": "
|
|
32223
|
+
"description": "Deprecated alias of memory_high; never sent as ram-high",
|
|
31263
32224
|
"type": "string"
|
|
31264
32225
|
},
|
|
31265
32226
|
"username": {
|
|
31266
|
-
"description": "Registry username (private registries)",
|
|
31267
32227
|
"type": "string"
|
|
31268
32228
|
},
|
|
31269
32229
|
"password": {
|
|
31270
|
-
"description": "Registry password (private registries)",
|
|
31271
32230
|
"type": "string"
|
|
31272
32231
|
}
|
|
31273
32232
|
},
|
|
@@ -31276,20 +32235,20 @@
|
|
|
31276
32235
|
},
|
|
31277
32236
|
{
|
|
31278
32237
|
"name": "list_container_envs",
|
|
31279
|
-
"title": "List Container Env
|
|
32238
|
+
"title": "List Container Env Metadata",
|
|
31280
32239
|
"risk": "read",
|
|
31281
32240
|
"annotations": {
|
|
31282
32241
|
"readOnlyHint": true,
|
|
31283
32242
|
"idempotentHint": true,
|
|
31284
32243
|
"openWorldHint": false
|
|
31285
32244
|
},
|
|
31286
|
-
"description": "List
|
|
32245
|
+
"description": "List environment .ids, list names and keys WITHOUT retrieving values. Treat every value as potentially secret. Shared lists may have multiple container consumers.",
|
|
31287
32246
|
"inputSchema": {
|
|
31288
32247
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31289
32248
|
"type": "object",
|
|
31290
32249
|
"properties": {
|
|
31291
32250
|
"list_filter": {
|
|
31292
|
-
"description": "
|
|
32251
|
+
"description": "Exact list name",
|
|
31293
32252
|
"type": "string"
|
|
31294
32253
|
}
|
|
31295
32254
|
},
|
|
@@ -31304,22 +32263,21 @@
|
|
|
31304
32263
|
"destructiveHint": false,
|
|
31305
32264
|
"openWorldHint": false
|
|
31306
32265
|
},
|
|
31307
|
-
"description": "Add
|
|
32266
|
+
"description": "Add a sensitive value to a named env list. Current CLI groups by list; check target syntax. Review all consumers before changing a shared list. Existing running containers may need an approved stop/start; no implicit restart.",
|
|
31308
32267
|
"inputSchema": {
|
|
31309
32268
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31310
32269
|
"type": "object",
|
|
31311
32270
|
"properties": {
|
|
31312
32271
|
"list": {
|
|
31313
32272
|
"type": "string",
|
|
31314
|
-
"
|
|
32273
|
+
"minLength": 1
|
|
31315
32274
|
},
|
|
31316
32275
|
"key": {
|
|
31317
32276
|
"type": "string",
|
|
31318
|
-
"
|
|
32277
|
+
"minLength": 1
|
|
31319
32278
|
},
|
|
31320
32279
|
"value": {
|
|
31321
|
-
"type": "string"
|
|
31322
|
-
"description": "Variable value"
|
|
32280
|
+
"type": "string"
|
|
31323
32281
|
}
|
|
31324
32282
|
},
|
|
31325
32283
|
"required": ["list", "key", "value"],
|
|
@@ -31335,21 +32293,25 @@
|
|
|
31335
32293
|
"idempotentHint": true,
|
|
31336
32294
|
"openWorldHint": false
|
|
31337
32295
|
},
|
|
31338
|
-
"description": "
|
|
32296
|
+
"description": "Remove one env entry by stable id OR exact list+key. Reject duplicates/unreadable selection. Review containers consuming this list first; no implicit restart.",
|
|
31339
32297
|
"inputSchema": {
|
|
31340
32298
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31341
32299
|
"type": "object",
|
|
31342
32300
|
"properties": {
|
|
32301
|
+
"id": {
|
|
32302
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
32303
|
+
"type": "string",
|
|
32304
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
32305
|
+
},
|
|
31343
32306
|
"list": {
|
|
31344
32307
|
"type": "string",
|
|
31345
|
-
"
|
|
32308
|
+
"minLength": 1
|
|
31346
32309
|
},
|
|
31347
32310
|
"key": {
|
|
31348
32311
|
"type": "string",
|
|
31349
|
-
"
|
|
32312
|
+
"minLength": 1
|
|
31350
32313
|
}
|
|
31351
32314
|
},
|
|
31352
|
-
"required": ["list", "key"],
|
|
31353
32315
|
"additionalProperties": false
|
|
31354
32316
|
}
|
|
31355
32317
|
},
|
|
@@ -31362,14 +32324,19 @@
|
|
|
31362
32324
|
"idempotentHint": true,
|
|
31363
32325
|
"openWorldHint": false
|
|
31364
32326
|
},
|
|
31365
|
-
"description": "
|
|
32327
|
+
"description": "Read mount metadata. Current CLI groups by list; legacy CLI may use name. No application files are read. A list can contain several mounts.",
|
|
31366
32328
|
"inputSchema": {
|
|
31367
32329
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31368
32330
|
"type": "object",
|
|
31369
32331
|
"properties": {
|
|
32332
|
+
"list_filter": {
|
|
32333
|
+
"type": "string",
|
|
32334
|
+
"minLength": 1
|
|
32335
|
+
},
|
|
31370
32336
|
"name_filter": {
|
|
31371
|
-
"description": "
|
|
31372
|
-
"type": "string"
|
|
32337
|
+
"description": "Legacy exact name filter",
|
|
32338
|
+
"type": "string",
|
|
32339
|
+
"minLength": 1
|
|
31373
32340
|
}
|
|
31374
32341
|
},
|
|
31375
32342
|
"additionalProperties": false
|
|
@@ -31383,25 +32350,31 @@
|
|
|
31383
32350
|
"destructiveHint": false,
|
|
31384
32351
|
"openWorldHint": false
|
|
31385
32352
|
},
|
|
31386
|
-
"description": "
|
|
32353
|
+
"description": "Add a persistent mount using current list= OR legacy name=, never both. Verify target syntax first. Use appropriate storage; a missing source may be populated from the image. Review consumers; this neither formats storage nor restarts containers.",
|
|
31387
32354
|
"inputSchema": {
|
|
31388
32355
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31389
32356
|
"type": "object",
|
|
31390
32357
|
"properties": {
|
|
32358
|
+
"list": {
|
|
32359
|
+
"description": "Current CLI mount-list name",
|
|
32360
|
+
"type": "string",
|
|
32361
|
+
"minLength": 1
|
|
32362
|
+
},
|
|
31391
32363
|
"name": {
|
|
32364
|
+
"description": "Legacy CLI mount name; do not use for current list syntax",
|
|
31392
32365
|
"type": "string",
|
|
31393
|
-
"
|
|
32366
|
+
"minLength": 1
|
|
31394
32367
|
},
|
|
31395
32368
|
"src": {
|
|
31396
32369
|
"type": "string",
|
|
31397
|
-
"
|
|
32370
|
+
"minLength": 1
|
|
31398
32371
|
},
|
|
31399
32372
|
"dst": {
|
|
31400
32373
|
"type": "string",
|
|
31401
|
-
"
|
|
32374
|
+
"minLength": 1
|
|
31402
32375
|
}
|
|
31403
32376
|
},
|
|
31404
|
-
"required": ["
|
|
32377
|
+
"required": ["src", "dst"],
|
|
31405
32378
|
"additionalProperties": false
|
|
31406
32379
|
}
|
|
31407
32380
|
},
|
|
@@ -31414,17 +32387,33 @@
|
|
|
31414
32387
|
"idempotentHint": true,
|
|
31415
32388
|
"openWorldHint": false
|
|
31416
32389
|
},
|
|
31417
|
-
"description": "
|
|
32390
|
+
"description": "Remove one mount definition by stable id or unique list/name, optionally narrowed by src/dst. Rejects multi-entry lists. Review shared consumers first; no host files are deleted by this tool.",
|
|
31418
32391
|
"inputSchema": {
|
|
31419
32392
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31420
32393
|
"type": "object",
|
|
31421
32394
|
"properties": {
|
|
32395
|
+
"id": {
|
|
32396
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
32397
|
+
"type": "string",
|
|
32398
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
32399
|
+
},
|
|
32400
|
+
"list": {
|
|
32401
|
+
"type": "string",
|
|
32402
|
+
"minLength": 1
|
|
32403
|
+
},
|
|
31422
32404
|
"name": {
|
|
31423
32405
|
"type": "string",
|
|
31424
|
-
"
|
|
32406
|
+
"minLength": 1
|
|
32407
|
+
},
|
|
32408
|
+
"src": {
|
|
32409
|
+
"type": "string",
|
|
32410
|
+
"minLength": 1
|
|
32411
|
+
},
|
|
32412
|
+
"dst": {
|
|
32413
|
+
"type": "string",
|
|
32414
|
+
"minLength": 1
|
|
31425
32415
|
}
|
|
31426
32416
|
},
|
|
31427
|
-
"required": ["name"],
|
|
31428
32417
|
"additionalProperties": false
|
|
31429
32418
|
}
|
|
31430
32419
|
},
|