patch_k8s_resource
ActiveTool of com.googleapis.container/mcp
declared in ESF
Patches a Kubernetes resource. This is similar to running `kubectl patch`.
Parameters schema
{
"type": "object",
"required": [
"parent",
"resourceType",
"name",
"patch"
],
"properties": {
"name": {
"type": "string",
"description": "Required. The name of the resource to patch."
},
"patch": {
"type": "string",
"description": "Required. The patch to apply in JSON format."
},
"parent": {
"type": "string",
"description": "Required. The cluster to patch the resource in. Format: projects/{project}/locations/{location}/clusters/{cluster}"
},
"namespace": {
"type": "string",
"description": "Optional. The namespace of the resource. If not specified, \"default\" is used."
},
"patchType": {
"type": "string",
"description": "Optional. The patch strategy to apply. Valid values are \"strategic\", \"merge\", or \"json\". If not specified, \"strategic\" patch type will be used."
},
"resourceType": {
"type": "string",
"description": "Required. The type of resource to patch. e.g. \"pods\", \"deployments\", \"services\"."
}
},
"description": "Request for patching a Kubernetes resource."
}Parent server
com.googleapis.container/mcp
1/7 registries