mirror of
https://github.com/mcp-use/mcp-use.git
synced 2026-09-14 18:06:01 +08:00
e76f5e7622
* fix(python): Params modified by middleware are lost when calling call_tool * Allow middleware to mutate request params (and replace context.params) and ensure those changes are passed to the underlying client session. Update CallbackClientSession/process_request to call the final client with the live MiddlewareContext so replacements are respected. Also update docs and examples. --------- Co-authored-by: pietrozullo <pietro.zullo@gmail.com>
3.8 KiB
3.8 KiB