Skip to main content

scope

Function scope 

Source
pub fn scope(name: &str, hints: Option<&ToolAnnotations>) -> Option<Scope>
Expand description

The scope a tool needs, from its name’s area and its hints: vcon_ tools need read when read-only, delete when destructive, else write; legal_ tools legal; audit_ tools audit; admin_ tools admin. None, which refuses every call, for a tool that does not state both hints, states both true, or has no known area.