The only way to take down Cogs in Toontown is with gags, your cartoonish arsenal of tricks. Simply approach the Cog you want to battle, and when the fight begins, click on the gag you'd like to use. Land enough gags and you'll defeat the Cog and earn your rewards.