Skip to content
C4D Practice
Dashboard
Prompts
Errata
Articles
Resources
Chapter 9
Hooks: Safety Net and Automation
Question 1 of 10
Chapter 9
Intermediate
Two matchers that fire on nothing
You add two hooks: one with `"matcher": "Web"`, meant for the tools `WebFetch` and `WebSearch`, and one with `"matcher": "mcp__jira"`, meant for every tool of your Jira server. Neither fires. What do they need?
A.
`Web*` and `mcp__jira*`, since matchers are prefix matches and the stars cover every suffix.
B.
`WebFetch|WebSearch` as an exact list, and `mcp__jira__.*`, where the `.*` makes it a pattern.
C.
Lowercase `web` and `mcp__jira`, since matchers fold case before they compare names with tools.
D.
An `if` field with the same words, since the matcher cannot match whole families of tools.