AskQuestion tool does not trigger cursor hooks

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

AskQuestion tool does not trigger hooks

Steps to Reproduce

  1. Add some hooks: notably preToolUse and postToolUse

  2. Open a chat (can verify sessionStart triggers)

  3. Ask the agent to use the AskQuestion tool (it does work)

  4. AskQuestion is nowhere to be found

Expected Behavior

I would expect for AskQuestion to be available during preToolUse and postToolUse.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.6.0-pre.15.patch.0
VSCode Version: 1.105.1
Commit: ec245356e438cbd23a8f1fc5c114500a2dce4c70
Date: 2026-02-18T11:40:48.085Z
Build Type: Stable
Release Track: Nightly
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.2.0

For AI issues: which model did you use?

I’ve tried Opus 4.6 Max, Compose 1.5, and GPT 5.3 XHigh

Does this stop you from using Cursor

No - Cursor works, but with this issue

I tested on stable as well, and it has the same problem.

Kind of an aside, but I was also noticing that preToolUse/postToolUse hooks are never called for any tool when in Plan mode either.

1 Like

For some additional context, I’m hoping to be able to utilize this tool to automate human-in-the-loop gates. It’s important to be able to ask the user a question, parse their selected responses, and utilize them to record the approvals.

It “works” to have the Agent call some other CLI/Tool after receiving the response, but this also gives the agent the ability to cheat the system by approving the gates without actually getting consent from the human in the loop.

1 Like

Hey, thanks for the detailed report and the screen recording.

It looks like this is a bug. The docs say preToolUse and postToolUse run for all tools, so AskQuestion should be included too. I’m passing this on to the team.

About the hooks not firing in Plan mode, I’m flagging that separately as well. This might be intentional or not, but either way it should be documented.

I’ll update this thread if I hear anything on either item.

1 Like