You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/mcp/testdata/toolsets-core-tools.json
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -449,13 +449,17 @@
449
449
"readOnlyHint": true,
450
450
"title": "Resources: Get"
451
451
},
452
-
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
452
+
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
453
453
"inputSchema": {
454
454
"properties": {
455
455
"apiVersion": {
456
456
"description": "apiVersion of the resource (examples of valid apiVersion are: v1, apps/v1, networking.k8s.io/v1)",
457
457
"type": "string"
458
458
},
459
+
"gotemplate": {
460
+
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{.spec.source.repoURL}}, {{.status.phase}})",
461
+
"type": "string"
462
+
},
459
463
"kind": {
460
464
"description": "kind of the resource (examples of valid kind are: Pod, Service, Deployment, Ingress)",
461
465
"type": "string"
@@ -486,7 +490,7 @@
486
490
"readOnlyHint": true,
487
491
"title": "Resources: List"
488
492
},
489
-
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
493
+
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{range .items}}{{.metadata.name}}\\n{{end}}, {{.spec.source.repoURL}})",
507
+
"type": "string"
508
+
},
501
509
"kind": {
502
510
"description": "kind of the resources (examples of valid kind are: Pod, Service, Deployment, Ingress)",
Copy file name to clipboardExpand all lines: pkg/mcp/testdata/toolsets-full-tools-multicluster.json
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -546,7 +546,7 @@
546
546
"readOnlyHint": true,
547
547
"title": "Resources: Get"
548
548
},
549
-
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
549
+
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
550
550
"inputSchema": {
551
551
"properties": {
552
552
"apiVersion": {
@@ -557,6 +557,10 @@
557
557
"description": "Optional parameter selecting which context to run the tool in. Defaults to fake-context if not set",
558
558
"type": "string"
559
559
},
560
+
"gotemplate": {
561
+
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{.spec.source.repoURL}}, {{.status.phase}})",
562
+
"type": "string"
563
+
},
560
564
"kind": {
561
565
"description": "kind of the resource (examples of valid kind are: Pod, Service, Deployment, Ingress)",
562
566
"type": "string"
@@ -587,7 +591,7 @@
587
591
"readOnlyHint": true,
588
592
"title": "Resources: List"
589
593
},
590
-
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
594
+
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{range .items}}{{.metadata.name}}\\n{{end}}, {{.spec.source.repoURL}})",
612
+
"type": "string"
613
+
},
606
614
"kind": {
607
615
"description": "kind of the resources (examples of valid kind are: Pod, Service, Deployment, Ingress)",
Copy file name to clipboardExpand all lines: pkg/mcp/testdata/toolsets-full-tools-openshift.json
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -484,13 +484,17 @@
484
484
"readOnlyHint": true,
485
485
"title": "Resources: Get"
486
486
},
487
-
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress, route.openshift.io/v1 Route)",
487
+
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress, route.openshift.io/v1 Route)",
488
488
"inputSchema": {
489
489
"properties": {
490
490
"apiVersion": {
491
491
"description": "apiVersion of the resource (examples of valid apiVersion are: v1, apps/v1, networking.k8s.io/v1)",
492
492
"type": "string"
493
493
},
494
+
"gotemplate": {
495
+
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{.spec.source.repoURL}}, {{.status.phase}})",
496
+
"type": "string"
497
+
},
494
498
"kind": {
495
499
"description": "kind of the resource (examples of valid kind are: Pod, Service, Deployment, Ingress)",
496
500
"type": "string"
@@ -521,7 +525,7 @@
521
525
"readOnlyHint": true,
522
526
"title": "Resources: List"
523
527
},
524
-
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress, route.openshift.io/v1 Route)",
528
+
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress, route.openshift.io/v1 Route)",
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{range .items}}{{.metadata.name}}\\n{{end}}, {{.spec.source.repoURL}})",
542
+
"type": "string"
543
+
},
536
544
"kind": {
537
545
"description": "kind of the resources (examples of valid kind are: Pod, Service, Deployment, Ingress)",
Copy file name to clipboardExpand all lines: pkg/mcp/testdata/toolsets-full-tools.json
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -469,13 +469,17 @@
469
469
"readOnlyHint": true,
470
470
"title": "Resources: Get"
471
471
},
472
-
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
472
+
"description": "Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
473
473
"inputSchema": {
474
474
"properties": {
475
475
"apiVersion": {
476
476
"description": "apiVersion of the resource (examples of valid apiVersion are: v1, apps/v1, networking.k8s.io/v1)",
477
477
"type": "string"
478
478
},
479
+
"gotemplate": {
480
+
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{.spec.source.repoURL}}, {{.status.phase}})",
481
+
"type": "string"
482
+
},
479
483
"kind": {
480
484
"description": "kind of the resource (examples of valid kind are: Pod, Service, Deployment, Ingress)",
481
485
"type": "string"
@@ -506,7 +510,7 @@
506
510
"readOnlyHint": true,
507
511
"title": "Resources: List"
508
512
},
509
-
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
513
+
"description": "List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector. Use the optional gotemplate parameter to extract specific fields instead of returning full YAML (same syntax as oc get -o go-template).\n(common apiVersion and kind include: v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress)",
"description": "Optional Go template to extract specific fields instead of returning full YAML (e.g. {{range .items}}{{.metadata.name}}\\n{{end}}, {{.spec.source.repoURL}})",
527
+
"type": "string"
528
+
},
521
529
"kind": {
522
530
"description": "kind of the resources (examples of valid kind are: Pod, Service, Deployment, Ingress)",
0 commit comments