Please read this first
- Have you read the docs?Agents SDK docs
- Yes
- Have you searched for related issues? Others may have had similar requests
- Yes
Question
Describe your question. Provide details if available.
After getting the response from an external MCP, and right before passing the response to the model, I want to manipulate the response and adjust it before passing it to the model.
So the scenario would be as follows:
- Submit a user query.
- Invoke the tool call.
- MCP tool invoked.
- MCP response returned.
- Adjust and manipulate the response. <-- I want to add this step.
- Pass the response to the model to complete the flow.
Any help would be much appreciated,
Thank you.