The Moonrise Kingdom actor has been offered the male lead role of Masklin, reports Deadline.
Trolls is based on the plastic dolls with colourful crazy hair and gems in various shapes on their bellies.
Hugo star Chloe Moretz is already set to voice the lead female character in the project.
In Wes Anderson's Moonrise Kingdom, Schwartzman plays a character inspired by an iconic Star Wars figure.
"I'm kind of like Han Solo if Han Solo was only in Star Wars for six minutes," he told Digital Spy. "I barter with these young Cub Scouts, I trade and I feel like I'm involved in the black market.
"I know somebody who can get these kids off the island. I'm sexy, I have a thin moustache, aviator glasses and an extremely tight outfit."
Moonrise Kingdom is now playing in theatres.
Watch Digital Spy's interview with Jason Schwartzman below: