[Feature Request] PreToolUse "Ask" return should include hook message and tool context

Status Open
Reported on v2.1.228
Maintainer reply None cached
Activity 0 comments · opened Aug 12, 2026

Bug Description
"Ask" return from PreToolUse doesn't show any context - or at the very least it doesn't in Auto permission mode. It doesn't show the message from the hook that raised it, nor does it show the tool being called or what the operation in question is.

A user cannot assess whether to allow or deny when they have no idea what they're giving permission for.

Solution
Allow raising custom messages with tool context for "Ask" returns.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.228
  • Feedback ID: 5c315e41-6048-458e-870f-e2dac5061ce3

View original on GitHub ↗