oc_explain
Explain OpenShift/Kubernetes resource schemas and API documentation by specifying resource type, API version, and field path. Get plaintext or JSON output, with recursive field details.
Instructions
Explain OpenShift/Kubernetes resource schemas, fields, and API documentation
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": {
"resource": "<resource>"
},
"name": "oc_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Specific field path to explain (e.g., spec.containers, metadata.labels) | |
| output | No | Output format for the explanation | plaintext |
| context | No | OpenShift context to use (optional) | |
| resource | Yes | Resource type to explain (e.g., pod, deployment, service, route.route.openshift.io) | |
| recursive | No | Show all fields recursively | |
| apiVersion | No | Specific API version to explain (e.g., apps/v1, route.openshift.io/v1) |