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
"description": "Gets lists or detailed info for Kubernetes resources (services, workloads) within the mesh",
42
+
"inputSchema": {
43
+
"type": "object",
44
+
"properties": {
45
+
"byLabels": {
46
+
"description": "Comma-separated list of labels to group metrics by (e.g., 'source_workload,destination_service'). Optional",
47
+
"type": "string"
48
+
},
49
+
"direction": {
50
+
"description": "Traffic direction: 'inbound' or 'outbound'. Optional, defaults to 'outbound'",
51
+
"type": "string"
52
+
},
53
+
"duration": {
54
+
"description": "Time range to get metrics for (optional string - if provided, gets metrics; if empty, get default 1800s).",
55
+
"type": "string"
56
+
},
57
+
"namespace": {
58
+
"description": "Namespace to get resources from",
59
+
"type": "string"
60
+
},
61
+
"quantiles": {
62
+
"description": "Comma-separated list of quantiles for histogram metrics (e.g., '0.5,0.95,0.99'). Optional",
63
+
"type": "string"
64
+
},
65
+
"rateInterval": {
66
+
"description": "Rate interval for metrics (e.g., '1m', '5m'). Optional, defaults to '1m'",
67
+
"type": "string"
68
+
},
69
+
"reporter": {
70
+
"description": "Metrics reporter: 'source', 'destination', or 'both'. Optional, defaults to 'source'",
71
+
"type": "string"
72
+
},
73
+
"requestProtocol": {
74
+
"description": "Filter by request protocol (e.g., 'http', 'grpc', 'tcp'). Optional",
75
+
"type": "string"
76
+
},
77
+
"resource_name": {
78
+
"description": "Name of the resource to get details for (optional string - if provided, gets details; if empty, lists all).",
79
+
"type": "string"
80
+
},
81
+
"resource_type": {
82
+
"description": "Type of resource to get details for (service, workload)",
83
+
"enum": [
84
+
"service",
85
+
"workload"
86
+
],
87
+
"type": "string"
88
+
},
89
+
"step": {
90
+
"description": "Step between data points in seconds (e.g., '15'). Optional, defaults to 15 seconds",
91
+
"type": "string"
92
+
}
93
+
},
94
+
"required": [
95
+
"resource_type",
96
+
"namespace",
97
+
"resource_name"
98
+
]
99
+
},
100
+
"name": "kiali_get_metrics"
101
+
},
102
+
{
103
+
"annotations": {
104
+
"title": "List or Resource Details",
105
+
"readOnlyHint": true,
106
+
"destructiveHint": false,
107
+
"idempotentHint": true,
108
+
"openWorldHint": true
109
+
},
110
+
"description": "Gets lists or detailed info for Kubernetes resources (services, workloads) within the mesh",
111
+
"inputSchema": {
112
+
"type": "object",
113
+
"properties": {
114
+
"namespaces": {
115
+
"description": "Comma-separated list of namespaces to get services from (e.g. 'bookinfo' or 'bookinfo,default'). If not provided, will list services from all accessible namespaces",
116
+
"type": "string"
117
+
},
118
+
"resource_name": {
119
+
"description": "Name of the resource to get details for (optional string - if provided, gets details; if empty, lists all).",
120
+
"type": "string"
121
+
},
122
+
"resource_type": {
123
+
"description": "Type of resource to get details for (service, workload)",
124
+
"enum": [
125
+
"service",
126
+
"workload"
127
+
],
128
+
"type": "string"
129
+
}
130
+
}
131
+
},
132
+
"name": "kiali_get_resource_details"
133
+
},
134
+
{
135
+
"annotations": {
136
+
"title": "Get Traces for a Resource",
137
+
"readOnlyHint": true,
138
+
"destructiveHint": false,
139
+
"idempotentHint": true,
140
+
"openWorldHint": true
141
+
},
142
+
"description": "Gets traces for a specific resource (app, service, workload) in a namespace",
143
+
"inputSchema": {
144
+
"type": "object",
145
+
"properties": {
146
+
"clusterName": {
147
+
"description": "Cluster name for multi-cluster environments (optional)",
148
+
"type": "string"
149
+
},
150
+
"endMicros": {
151
+
"description": "End time for traces in microseconds since epoch (optional)",
152
+
"type": "string"
153
+
},
154
+
"limit": {
155
+
"description": "Maximum number of traces to return (default: 100)",
156
+
"minimum": 1,
157
+
"type": "integer"
158
+
},
159
+
"minDuration": {
160
+
"description": "Minimum trace duration in microseconds (optional)",
161
+
"minimum": 0,
162
+
"type": "integer"
163
+
},
164
+
"namespace": {
165
+
"description": "Namespace to get resources from",
166
+
"type": "string"
167
+
},
168
+
"resource_name": {
169
+
"description": "Name of the resource to get details for (optional string - if provided, gets details; if empty, lists all).",
170
+
"type": "string"
171
+
},
172
+
"resource_type": {
173
+
"description": "Type of resource to get metrics for (app, service, workload)",
174
+
"enum": [
175
+
"app",
176
+
"service",
177
+
"workload"
178
+
],
179
+
"type": "string"
180
+
},
181
+
"startMicros": {
182
+
"description": "Start time for traces in microseconds since epoch (optional)",
183
+
"type": "string"
184
+
},
185
+
"tags": {
186
+
"description": "JSON string of tags to filter traces (optional)",
"description": "Manages Istio configuration objects (Gateways, VirtualServices, etc.). Can list (objects and validations), get, create, patch, or delete objects",
206
+
"inputSchema": {
207
+
"type": "object",
208
+
"properties": {
209
+
"action": {
210
+
"description": "Action to perform: list, get, create, patch, or delete",
211
+
"type": "string"
212
+
},
213
+
"group": {
214
+
"description": "API group of the Istio object (e.g., 'networking.istio.io', 'gateway.networking.k8s.io')",
215
+
"type": "string"
216
+
},
217
+
"json_data": {
218
+
"description": "JSON data to apply or create the object",
219
+
"type": "string"
220
+
},
221
+
"kind": {
222
+
"description": "Kind of the Istio object (e.g., 'DestinationRule', 'VirtualService', 'HTTPRoute', 'Gateway')",
223
+
"type": "string"
224
+
},
225
+
"name": {
226
+
"description": "Name of the Istio object",
227
+
"type": "string"
228
+
},
229
+
"namespace": {
230
+
"description": "Namespace containing the Istio object",
231
+
"type": "string"
232
+
},
233
+
"version": {
234
+
"description": "API version of the Istio object (e.g., 'v1', 'v1beta1')",
235
+
"type": "string"
236
+
}
237
+
},
238
+
"required": [
239
+
"action"
240
+
]
241
+
},
242
+
"name": "kiali_manage_istio_config"
243
+
},
244
+
{
245
+
"annotations": {
246
+
"title": "Workload: Logs",
247
+
"readOnlyHint": true,
248
+
"destructiveHint": false,
249
+
"openWorldHint": true
250
+
},
251
+
"description": "Get logs for a specific workload's pods in a namespace. Only requires namespace and workload name - automatically discovers pods and containers. Optionally filter by container name, time range, and other parameters. Container is auto-detected if not specified.",
252
+
"inputSchema": {
253
+
"type": "object",
254
+
"properties": {
255
+
"container": {
256
+
"description": "Optional container name to filter logs. If not provided, automatically detects and uses the main application container (excludes istio-proxy and istio-init)",
257
+
"type": "string"
258
+
},
259
+
"namespace": {
260
+
"description": "Namespace containing the workload",
261
+
"type": "string"
262
+
},
263
+
"since": {
264
+
"description": "Time duration to fetch logs from (e.g., '5m', '1h', '30s'). If not provided, returns recent logs",
265
+
"type": "string"
266
+
},
267
+
"tail": {
268
+
"description": "Number of lines to retrieve from the end of logs (default: 100)",
269
+
"minimum": 1,
270
+
"type": "integer"
271
+
},
272
+
"workload": {
273
+
"description": "Name of the workload to get logs for",
0 commit comments