OPA capabilities
rego_capabilitiesRetrieve OPA capabilities including builtins, future keywords, features, and WASM ABI versions. Get current or specific version's capabilities or list available named versions, with an option to return full signatures.
Instructions
Return OPA capabilities -- the available builtins, future keywords, features, and WASM ABI versions. With current: true, returns the running OPA's capabilities. With version: "v0.69.0", returns those of a specific version. With neither, lists available named versions. By default (names_only: true), returns only builtin names and count to stay within response size limits; pass names_only: false for full type signatures and documentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | No | Print the capabilities of the currently installed OPA. Mutually exclusive with `version`. | |
| version | No | A specific OPA capabilities version (e.g. "v0.69.0"). When neither flag is set, lists available versions. | |
| names_only | No | When true (default), return only builtin names, count, future keywords, and features. The full spec payload routinely exceeds client response size limits. Set to false to retrieve complete type signatures, documentation, and metadata for every builtin. |