get_kubeconfig_info
Retrieve saved kubeconfig details or validate kubeconfig content format by passing either the configuration name or the file content.
Instructions
获取 kubeconfig 文件详细信息或验证 kubeconfig 内容格式
两种用法:
传 name:读取已保存的 kubeconfig 并返回详情
传 content:验证传入的 kubeconfig 内容格式
Args: name: 已保存的配置名称(与 content 二选一) content: kubeconfig 文件内容(与 name 二选一,用于验证格式)
Returns: kubeconfig 详细信息或验证结果
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_kubeconfig_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| content | No |