The classic cartoon you're likely thinking of is Inspector Gadget (1983).
Inspector Gadget is a bumbling, cyborg police inspector equipped with countless built-in gadgets—most famously his extendable robot arms ("Go-Go Gadget Arms!"). He fights crime (usually Dr. Claw's M.A.D. organization) with the secret help of his genius niece Penny and her dog Brain.
While Gadget is an adult, not a boy, his robot arms are the show's signature element. If you're thinking of a boy with a robot arm, other candidates include Fullmetal Alchemist's Edward Elric (automail arm) or Mega Man—but Inspector Gadget is the quintessential "robot arm cartoon."