agent: Ensure tool names are unique (#33237)

Closes #31903

Release Notes:

- agent: Fix an issue where an error would occur when MCP servers
specified tools with the same name

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
e68b95c61bBennet Bo Fenner committed on 6/23/2025, 10:15:08 AM· committed by GitHubparent28f56ad
1 file changedLine totals unavailable