@@ -186,7 +186,7 @@ Examples:
186
186
),
187
187
mcp .WithString ("resource" ,
188
188
mcp .Required (),
189
- mcp .Description ("The resource type (e.g., pods, deployments, services) or empty for file-based operations" ),
189
+ mcp .Description ("The resource type (e.g., pods, deployments, services) or empty string '' for file-based operations (create -f, apply -f, patch -f, replace -f, delete -f) " ),
190
190
),
191
191
mcp .WithString ("args" ,
192
192
mcp .Required (),
@@ -229,7 +229,7 @@ Examples:
229
229
),
230
230
mcp .WithString ("resource" ,
231
231
mcp .Required (),
232
- mcp .Description ("The resource type for expose/scale/autoscale, subcommand for rollout, or empty for run" ),
232
+ mcp .Description ("The resource type for expose/scale/autoscale, subcommand for rollout, or empty string '' for run operation " ),
233
233
),
234
234
mcp .WithString ("args" ,
235
235
mcp .Required (),
@@ -285,11 +285,11 @@ Available operations:
285
285
- cp: Copy files to/from containers
286
286
287
287
Examples:
288
- - Logs for default container: operation='logs', resource='pod ', args='nginx'
289
- - Logs for specific container: operation='logs', resource='pod ', args='nginx -c ruby-container'
290
- - Logs with selector: operation='logs', resource='pod ', args='-l app=nginx --all-containers=true'
291
- - Get events: operation='events', resource='events ', args='--all-namespaces'
292
- - Get events namespace: operation='events', resource='events ', args='-n default'
288
+ - Logs for default container: operation='logs', resource='', args='nginx'
289
+ - Logs for specific container: operation='logs', resource='', args='nginx -c ruby-container'
290
+ - Logs with selector: operation='logs', resource='', args='-l app=nginx --all-containers=true'
291
+ - Get events: operation='events', resource='', args='--all-namespaces'
292
+ - Get events namespace: operation='events', resource='', args='-n default'
293
293
- Top pods: operation='top', resource='pod', args=''
294
294
- Top nodes: operation='top', resource='node', args=''
295
295
- Top with containers: operation='top', resource='pod', args='POD_NAME --containers'
@@ -306,7 +306,7 @@ Examples:
306
306
),
307
307
mcp .WithString ("resource" ,
308
308
mcp .Required (),
309
- mcp .Description ("The resource type (usually ' pod' for logs, 'event' for events or '' for exec and cp) " ),
309
+ mcp .Description ("The resource type: 'node'/' pod' for top, empty string '' for logs/events/ exec/cp " ),
310
310
),
311
311
mcp .WithString ("args" ,
312
312
mcp .Required (),
@@ -345,7 +345,7 @@ Examples:
345
345
),
346
346
mcp .WithString ("resource" ,
347
347
mcp .Required (),
348
- mcp .Description ("The resource type for explain operation, or empty for others " ),
348
+ mcp .Description ("The resource type for explain operation, or empty string '' for cluster-info/api-resources/api-versions " ),
349
349
),
350
350
mcp .WithString ("args" ,
351
351
mcp .Required (),
@@ -403,7 +403,7 @@ Examples:
403
403
),
404
404
mcp .WithString ("resource" ,
405
405
mcp .Required (),
406
- mcp .Description ("Subcommand for auth/certificate operations, or empty for diff" ),
406
+ mcp .Description ("Subcommand for auth/certificate operations, or empty string '' for diff operation " ),
407
407
),
408
408
mcp .WithString ("args" ,
409
409
mcp .Required (),
0 commit comments