Agent hook type fails: Messages are required for agent hooks
Resolved 💬 3 comments Opened Apr 14, 2026 by saarginzburski Closed Apr 17, 2026
PostToolUse hook with type agent fails with error: Failed to run: Messages are required for agent hooks. Config uses prompt field as required by schema. Runtime rejects it anyway.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗