GC-C agonists are used to treat chronic idiopathic constipation and irritable bowel syndrome with constipation. Some GC-C agonists can also manage functional constipation in children. These medications work by activating guanylate cyclase-C receptors in your intestines, which helps increase fluid secretion and speed up bowel movements. They're available in oral form. Examples include Linzess (linaclotide) and Trulance (plecanatide). You can take these medications as prescribed to help manage your symptoms effectively.