aws / aws/amazon-q-developer-cli

feature request: Tool execution hooks

Open
#2,788 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

Requesting a feature on Q CLI for capability to add "hooks" on tool execution events.

Some MCP tool outputs can be very large (large API outputs) and tool execution results get added to the context, causing context overflow.

For SOP automation use cases where such tools need to get executed with different parameters, having hooks for post-processing the output before adding to context can help control context usage.

Expecting the hooks to filter output or redirect the full output to a temporary file for selective reading before adding it to the session context.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.