batch_update_resources
Batch update Kubernetes resources from a JSON list, specifying namespace and cluster credentials for targeted changes.
Instructions
批量更新资源
Args: resources: JSON格式的资源列表 namespace: 命名空间 kubeconfig_path: kubeconfig 文件路径,不指定则使用 cluster_name 或默认集群 cluster_name: 集群配置名称(clusters.json 中的 name),kubeconfig_path 未指定时使用
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": {
"resources": "<resources>"
},
"name": "batch_update_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | default | |
| resources | Yes | ||
| cluster_name | No | ||
| kubeconfig_path | No |