Get resource
k8s_get_resourceRead any Kubernetes object by API version and kind, including CRDs; secret values are redacted unless reveal is true, with a dataDigest to detect changes.
Instructions
Read any object by apiVersion and kind (CRDs included).
Secret values are redacted unless reveal is true; the redacted body
keeps the key names and a dataDigest that changes when any value
changes.
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": {
"api_version": "<api_version>",
"kind": "<kind>",
"name": "<name>"
},
"name": "k8s_get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| reveal | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| namespace | No | ||
| api_version | Yes |