get_resource
Fetch a complete allow-listed OCM resource by specifying its type and name, with optional namespace scope. Secrets are never returned.
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 |