You'll notice
Permission hooks declared at the top level of hooks.json now give a message pointing at the misconfiguration.
Plugin hooks.json validation now has a dedicated error path for PreToolUse/PermissionRequest entries declared at the top level instead of nested under "hooks". This produces a clear message pointing at the misconfiguration instead of a generic schema-parse failure.
Names in the bundlehooks.json
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up hooks.json, on Plugins reference.
| `hooks` | string\|array\|object | Hook config paths or inline config | `"./my-extra-hooks.json"` |plugins-reference see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up hooks.json, on Plugins reference.