fix(core): respect pydantic aliases when validating tool inputs (#39572)