She also has a later scene where she essentially puts Mowgli on the path that he needs to travel, having visions of what the future has for the Man Cub, and apparently that material came together later in development.
While Kaa doesn’t have the most screen time of the characters featured in Mowgli: Legend Of The Jungle, she does have a significant role, and actually opens the film with narration telling the story of how the titular protagonist became an orphan and ultimately adopted into a wolf pack.