Include Model Name in `beforeSubmitPrompt` Hook

Feature request for product/service

Cursor IDE

Describe the request

I’d like for the currently selected model (or model that will be used if “Auto” is turned on) to be included alongside the prompt in the beforeSubmitPrompt hook (Hooks | Cursor Docs).

A few use cases in mind:

  • Blocking execution & suggesting a different model based on the prompt or an approved list of models
  • While audit logging, being able to see which prompts were issued to which models

Agreed this would be very helpful. Is there a workaround?