[DOCS] PermissionRequest hook missing from settings schema
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://json.schemastore.org/claude-code-settings.json
Section/Topic
claude-code-settings.json schema
Current Documentation
The schema for claude code settings doesn't contain information about the PermissionRequest hook.
What's Wrong or Missing?
I added a new PermissionRequest hook to my settings, and it's working great, but VS Code warns me that this property is not allowed.
I was hoping to submit a PR, but couldn't find in the repo where this schema is configured.
<img width="686" height="569" alt="Image" src="https://github.com/user-attachments/assets/a9de4bc0-a9cd-4c6c-9cf9-5bc24c7001db" />
Suggested Improvement
Add this to hooks.properties in the schema:
"PermissionRequest": {
"type": "array",
"description": "Hooks that run when asking the user for more permission",
"items": {
"$ref": "#/$defs/hookMatcher"
}
},
Impact
Low - Minor confusion or inconvenience
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗