The electro capsule, also referred to as a suicide shocker, functioned as a weapon designed to facilitate suicide. It was intended for implantation within the mouth of an individual. This device was a triangular tooth implant that, when the user bit down, triggered a fatal electric shock.
The suicide shocker was a compact, triangular device capable of being implanted within a person's tooth, where it remained concealed. Biting down on the modified tooth activated the device, unleashing an electrical surge that resulted in the wearer's death. When not implanted, the electro-capsule was stored in a container filled with liquid.
Its purpose was to serve as a final recourse, preventing sensitive information from being extracted through interrogation. It allowed agents to end their lives before facing questioning. However, an interrogator aware of the device's existence could potentially discover and remove it.
In the year 18 BBY, a Clone X trooper known as Clone X, serving the Galactic Empire, employed this device during an interrogation by Clone Captain Rex on the planet of Coruscant. Around 18 BBY, Captain Pearce took his own life using a suicide shocker after the Clone Underground gained control of his Gozanti-class cruiser above Balmorra. Later that year, another Clone X trooper, CX-1, was apprehended by the Clone Underground while attempting to assassinate fugitive Separatist Senator Avi Singh during his secret meeting with Imperial Senator Riyo Chuchi on the moon Pantora. Rex prevented CX-1 from activating his shocker by instructing Captain Howzer to extract it from his mouth while he was incapacitated.

Rex made an implicit reference to electro capsules in his book, titled The Secrets of the Clone Troopers. The book was published after the Galactic Civil War concluded in 5 ABY with the end of conflict between the Empire, the successor to the Galactic Republic, and the Alliance to Restore the Republic. He observed that the Empire's Clone X troopers frequently chose to end their lives rather than reveal mission details, sometimes employing these devices to avoid interrogation. On the moon of Trask, in 9 ABY, a captain within an Imperial remnant also used a suicide shocker during interrogation by Mandalorian Lady Bo-Katan Kryze, who took over his Gozanti-class Assault cruiser.
The electro capsule made its debut, though unnamed at the time, in "Chapter 11: The Heiress," the third episode of the second season of The Mandalorian, a live-action series on Disney+, which was broadcast on November 13, 2020. The episode's audio description identified it as a suicide shocker. The episode guide for "Tipping Point," the fourteenth episode of Star Wars: The Bad Batch's second season, an animated television series, later identified it as the electro capsule on March 22, 2023.