You're viewing a demo portfolio

Join the waitlist
PRSM

patch_k8s_resource

Active

Tool 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."
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

com.googleapis.container/mcp

1/7 registries
View full server →