A guardian ad litem is typically charged with protecting your child's best interests. As a minor, your child can't hire a lawyer of her own to safeguard her interests or make her feelings known to the court, so the judge does so for her. The GAL does not represent parents' interests and he is not their advocate. He works independently of their wishes.
The Legal Process
A GAL has contact with divorcing parents, typically through interviews and other meetings. It's his job to decipher the family dynamics so he can figure out exactly what's best for your child in the context of the divorce. The process often begins with an extensive questionnaire each parent is required to fill out, giving the GAL the facts and background of the case – at least as they see them. The GAL may then interview the child at home, and this would normally involve at least one parent's presence. Because the process is court-ordered, parents can't decline to cooperate or produce the child for interviews. Sometimes a GAL will interview third parties as well, such as teachers, physicians or counselors. He can then make recommendations to the court as to what the best custody outcome is for the child.
Courts will generally attempt to solicit the cooperation and consent of parents before appointing a GAL, but this doesn't mean they won't move ahead with the appointment if one or both parents object. After appointment, the GAL generally does not need approval from the parents' attorneys to speak to either of them, but his communications with the judge must not be ex parte or conducted without the parents' knowledge or involvement. If the GAL wants the judge to speak with the child personally, this may take place in chambers without the parents' presence, but their attorneys usually have the right to attend. Some states, such as North Carolina, allow parents to object to the submission of the GAL's written report to the court, which typically includes his recommendations for custody and is the last step of the GAL process before trial.
Obligation to Child
In some cases, children – particularly older children – might have some thoughts of their own regarding the custody aspect of a divorce. Some states, such as Virginia, require that the GAL report the child's feelings to the judge regardless of whether the GAL agrees with them or thinks they're in the child's best interests.