get_resource
Retrieve a specific Open Cluster Management (OCM) resource in full by name and type, with optional namespace. Excludes Secrets for security.
Instructions
Generic get of one allow-listed OCM resource, in full.
Args: resource: an OCM resource type (see list_resources for the allow-list). name: object name. namespace: required for namespaced types (usually the cluster namespace).
Never returns a Secret: Secrets are not on the allow-list, so this capability does not exist rather than being merely restricted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| resource | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |