describe_resource
Retrieve any Kubernetes resource by kind and name, including CRDs. Returns the resource with managed fields and last-applied annotations removed.
Instructions
Fetch any Kubernetes resource by kind and name, including custom resources (CRDs). Returns the resource object with noise (managedFields, last-applied annotation) stripped.
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": {
"kind": "<kind>",
"name": "<name>"
},
"name": "describe_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | resource kind, plural, or short name (e.g. Deployment, deployments, deploy) | |
| name | Yes | name of the resource | |
| context | No | kubeconfig context (cluster) to target; omit to use the default context | |
| namespace | No | namespace for namespaced resources; defaults to "default" | |
| api_version | No | optional apiVersion (e.g. apps/v1) to disambiguate a kind or target a CRD |