pub fn matches_tool(matcher: &Option<String>, tool_name: &str) -> boolExpand description
Check whether a tool-name matcher pattern matches a given tool name.
Supported patterns:
None— matches everything (no filter)."*"— matches everything (explicit wildcard)."foo"— exact match."foo_*"— prefix wildcard: matches any name starting with"foo_".