Skip to main content

capabilities

Function capabilities 

Source
pub fn capabilities() -> Vec<Capability>
Expand description

One Capability per runtime-flagged tool in the bundled endpoint inventory, plus the fixed legacy aliases (UnifiClient’s named methods) and hybrid entries this crate resolves at dispatch time.

§Panics

Panics if the bundled inventory JSON fails to parse, or if it contains an auth_scope other than "read"/"admin" — see super::all_capabilities for why that can only happen from a broken build, not at runtime.