The following sentence is given:
I'd only just got into the bath when she phoned.
I cannot understand the meaning of "would". Is it a modal auxiliary here?
It is Past Perfect tense.
I (pronoun) had + v3 ... when she v2 (her phone call is at Past Simple).
Result of my action at the past when another person (she) did some action.