A stool antigen test is a diagnostic tool used to detect specific antigens, which are substances that trigger an immune response, in a child's stool sample. This test is particularly useful for diagnosing infections caused by bacteria, viruses, or parasites.