This test measures the amount of carbamazepine in your blood. Carbamazepine is the generic name of tegretol, a medicine used to treat epilepsy, mania, bipolar disorder, and pain.