list_resources
List Open Cluster Management resources by type and optional namespace to inspect fleet status. Only approved OCM types are accessible, excluding secrets and credentials.
Instructions
Generic list over an allow-list of OCM API types (identity + conditions only).
Args: resource: an OCM resource type, e.g. managedclusters, placements, placementdecisions, manifestworks, managedclusteraddons, clustermanagementaddons, managedclustersets, policies, klusterlets. namespace: for namespaced types, limit to one namespace; empty lists all.
Only Open Cluster Management types are allowed. Secrets and other credential resources are not on the allow-list and cannot be read through this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |