When do you use a.mi tambien as a response?

A( when have a indirect object in the sentence
B( when you have a direct object in the sentence