fix: pass fingerprint metadata via config instead of tool args (#5216)
security_context was being injected into tool arguments by _add_fingerprint_metadata(), causing Pydantic validation errors (extra_forbidden) on MCP and integration tools with strict schemas. Move fingerprint data to the `config` parameter that invoke/ainvoke already accept, keeping it available to consumers without polluting the tool args namespace. Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com>
G
Greyson LaLonde committed
4e46913045ae74d22d8ffb1e063defd9c81ef486
Parent: 335130c
Committed by GitHub <noreply@github.com>
on 4/2/2026, 7:21:02 PM