Ariana Grande brings fresh energy to the “Meet the Parents” franchise in “Focker In-Law,” joining Ben Stiller and Robert De Niro in the latest film in the series, which began 26 years ago. The movie gives Grande room to showcase the comic skills she developed in “Wicked” and during three stints hosting “Saturday Night Live.”

Grande plays Olivia Jones, a former FBI agent turned corporate CEO whisperer who is dating Henry Focker (Skyler Gisondo). The family gathers on Long Island for Jack’s 80th birthday, where Greg Focker (Stiller) quickly suspects Olivia is manipulating his 26-year-old son. Greg’s unease grows when Jack (De Niro), who once made Greg work for his respect and affection, appears to be charmed by her.

Olivia is both a romantic lead audiences are meant to root for and a potential antagonist to Greg. Grande gives the character a self-assurance that makes clear neither she nor Olivia should be underestimated, while balancing warmth, humor and menace, writer and director John Hamburg said.

“She’s got to play all these sides. I think she really does deep work on the arc of the character, and then you combine that with great comic timing,” Hamburg said. “All that adds up to like this complex character who I think can be romantic, be funny and be a little scary as well.”

Hamburg said he knew a new installment needed to move beyond another clash between Greg and Jack. He considered whether Greg’s son or daughter would bring a partner home before settling on Olivia, whose confidence contrasts with Greg’s anxious manner in the original film. “It will be a different dynamic than we’ve seen before,” he said. “She’s incredibly confident and very good at many things. And most importantly, and most threatening to Greg, Jack Byrnes instantly loves her.”

Grande’s character also gets an early scene revealing a potentially sociopathic side: Olivia, a former hostage negotiator, takes pleasure in inventing a story about someone falling from a bridge. Hamburg said he apologized for scheduling the demanding scene near the start of filming, but quickly saw that Grande was ready. “She just went for it,” he said in a video call from London, where he was attending the movie’s UK premiere. “And I was like, ‘Oh, she’s gonna make my job easy.’”

The film opens the day before Thanksgiving. Stiller’s Greg, now older than De Niro’s Jack was in the original, is navigating the same family-meets-partner setup from the other side. The film pairs slapstick with the familiar, uncomfortable family dynamics of the earlier movies. The three previous films together earned more than $1.1 billion at the global box office.

Grande’s public year has included stepping back briefly from the spotlight at the end of her global concert tour in September, after scrutiny of her shrinking frame. She also left a musical with Jonathan Bailey, prompting the production to fall apart, while her love life has continued to attract attention and criticism.

Hamburg said Grande’s presence was missed when she left the set for a few weeks to film the “Wicked” live musical special. “I was so sad. Like, I missed her!” he said. “I texted her a picture from the set: ‘This isn’t right not having you here!’”

Grande made her Broadway breakthrough in 2008, at age 15. “She’s got this ineffable quality: You can’t take your eyes off her, and you want to get to know her more, but she’s not going to let you know everything about her right away,” Hamburg said. “I thought that would work really well for Greg Focker and his presumptions about her in this story.”