Need to replace an SMD ceramic capacitor based on physical dimensions

The capacitors I need to replace are two SMD ceramic caps that are stacked inside a metal frame and are unique to the PCB so I cannot determine their measurements other than by physical measurements.

Each cap measures approximately 6.3mm x 5.3mm x 1.5mm.
The schematic is unavailable for this PCB.
Would I need to buy them within the frame?

Try to find SMD capacitors that match the physical size, and don’t forget to double-check the voltage and capacitance ratings.

Unfortunately, there does not seem to be a search engine that allows one to find an SMD ceramic capacitor based on size. The purpose of this topic was to have someone more knowledgeable tell me which capacitor matches the physical size.

Thank you for your inquiry.

Your capacitor is a ‘Stacked J-Lead’

There is an ability to search by size, the closest options I’m seeing are 6.10mm x 5.30mm.

Here is an example Part Number: KRM55TR72E225MH01K