Agent hook type fails: Messages are required for agent hooks

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Apr 14, 2026 · 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.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗