Skip to main content

action_in_scope

Function action_in_scope 

Source
pub fn action_in_scope(
    action: &ActionStatement,
    declared_tools: &[String],
) -> bool
Expand description

Is an action within a declared capability set? The action label is authoritative; meta.tool counts only when the label is a generic dispatch placeholder (see [scope_candidates]).