Feature request: PostToolUse hooks that can modify tool output
Resolved 💬 4 comments Opened Jul 27, 2025 by lava Closed Aug 19, 2025
Currently PostToolUse hooks can view but not modify a tools output. It would be nice to have e.g. a "transform"-type hook that can modify a tools response before it gets returned back to the model.
Example use case would be things like GitHub's MCP server, which returns extremely verbose responses by default. It would be nice to be able to add a hook that uses jq to prune that down to a reasonable size before the model sees it.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗