The service manual that I got downloaded thru the toyota yaris forums for 1kr-fe says 3.1 L
I'm copying and pasting:
"Warm up the engine, stop the engine and wait 5 minutes. The oil level
should be between the dipstick's low level mark and full level mark.
If low, check for leakage and add oil up to the full level mark."
Do not fill with engine oil to above the full level mark.
4. ADD ENGINE OIL
With oil filter change 3.1 liter (3.3 Us qts, 2.7 lmp. qts)
Without oil filter change 2.9 liter (3.1 Us qts, 2.6 lmp. qts)
Dry fill 3.4 liter (3.6 Us qts, 3.0 lmp. qts)"