This feminine tactical droid was stationed inside Citadel Command, alongside Osi Sobeck and a few security droids. Around 21 BBY, Jedi Master Even Piell was captured and detained in the Citadel, prompting an elite Jedi team and clones to rescue him. When they entered the planet's atmosphere, Lola Sayu, the planet holding the Citadel, K2-B4 contacted them and asked about their cargo. She then told them to stay on course while scanning the ship for life forms using the scanners. However, because the Jedi and clones had encased themselves in carbonite, the scanners did not detect them, and K2-B4 allowed them to enter Lola Sayu.
Later on, K2-B4 informed Sobeck that Confederacy Head of State Count Dooku wanted to contact him because of the Jedi's success in freeing Master Piell and his men. After reassuring the Count that everything was under control, Sobeck grabbed K2-B4 and warned her never to surprise him like that again. K2-B4 later met with R2-D2's shuttle after getting suspicious that it was long overdue. R2 was being escorted by three battle droids, including OOM-10, who, unknown to K2-B4, had been reprogrammed to serve the Republic. They managed to fool K2-B4 into thinking that R2 was their prisoner and were taking him for interrogation. However, when R2 and the captured Jedi and his team never reached the interrogation room, K2-B4 realized OOM-10 and the battle droids' reprogramming and alerted all Citadel guards to capture them.
She was later transferred aboard a Lucrehulk-class Droid Control Ship orbiting Lola Sayu and was ordered by Sobeck not to let anyone past their defenses. However, when a rescue fleet under four Jedi Masters arrived, K2-B4 failed to prevent them from entering the planet. The Jedi successfully extracted the remaining team members and escaped back to Coruscant.
K2-B4 was colored purple and green to match the color scheme of the Citadel. She also bore the logo of the Citadel on her body.
- K2-B4's name is based on NBA player Kobe Bryant, who wore the jersey number 24 during the latter part of his career, while the paint scheme of the droid purple and gold matches the one of the Los Angeles Lakers, who Kobe Bryant played with. Lakers fans included these references on the crew of Star Wars: The Clone Wars as the Lakers won a championship during the production of "The Citadel."
- She is the only tactical droid that doesn't start with the letter T.