Skip to content

Commit 811ced2

Browse files
committed
Rename kiali_logs
Signed-off-by: josunect <[email protected]>
1 parent 88e1df5 commit 811ced2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ In case multi-cluster support is enabled (default) and you have access to multip
382382
- `resource_type` (`string`) **(required)** - Type of resource to get details for (service, workload)
383383
- `step` (`string`) - Step between data points in seconds (e.g., '15'). Optional, defaults to 15 seconds
384384

385-
- **workload_logs** - 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.
385+
- **kiali_workload_logs** - 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.
386386
- `container` (`string`) - Optional container name to filter logs. If not provided, automatically detects and uses the main application container (excludes istio-proxy and istio-init)
387387
- `namespace` (`string`) **(required)** - Namespace containing the workload
388388
- `since` (`string`) - Time duration to fetch logs from (e.g., '5m', '1h', '30s'). If not provided, returns recent logs

pkg/mcp/testdata/toolsets-kiali-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,6 @@
287287
"workload"
288288
]
289289
},
290-
"name": "workload_logs"
290+
"name": "kiali_workload_logs"
291291
}
292292
]

pkg/toolsets/kiali/logs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func initLogs() []api.ServerTool {
1515
// Workload logs tool
1616
ret = append(ret, api.ServerTool{
1717
Tool: api.Tool{
18-
Name: "workload_logs",
18+
Name: "kiali_workload_logs",
1919
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.",
2020
InputSchema: &jsonschema.Schema{
2121
Type: "object",

0 commit comments

Comments
 (0)