In most other cases, such as with a tumor, an operation known as a craniotomy is needed to determine the exact nature of the tumor and to take out as much of the tumor as is possible. A craniotomy is performed through a large incision in the scalp and a large opening in the skull.