Get any resource
get_resourceFetch any Kubernetes object by specifying its apiVersion, kind, and name, with optional namespace and context for precise targeting.
Instructions
Read an arbitrary Kubernetes object by apiVersion/kind/name (e.g. apiVersion=apps/v1, kind=Deployment).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | e.g. Pod, Deployment, Ingress | |
| name | Yes | Resource name | |
| context | No | kube-config context to target (defaults to current-context) | |
| namespace | No | Namespace (omit for cluster-scoped resources) | |
| apiVersion | Yes | e.g. v1, apps/v1, networking.k8s.io/v1 |