pub fn matched_capability(
action: &ActionStatement,
declared_tools: &[String],
) -> Option<String>Expand description
The first declared capability an action matches, if any. Same matching as
action_in_scope, but returns which capability matched, so callers can
grade each declared capability by whether captured receipts exercise it.