batch_describe_resources
Batch retrieve detailed information for multiple Kubernetes resources by providing their kind and name, with optional namespace and cluster settings.
Instructions
批量获取资源详细信息
Args: resource_specs: 资源规格列表,格式:[{"kind": "Pod", "name": "my-pod"}, {"kind": "Service", "name": "my-svc"}] namespace: 命名空间 kubeconfig_path: kubeconfig 文件路径,不指定则使用 cluster_name 或默认集群 cluster_name: 集群配置名称(clusters.json 中的 name),kubeconfig_path 未指定时使用
Returns: 批量资源详细信息
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_specs": "<resource_specs>"
},
"name": "batch_describe_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | default | |
| cluster_name | No | ||
| resource_specs | Yes | ||
| kubeconfig_path | No |