LaMichael James said he is "most definitely" preparing as if he'll return punts and kickoffs for the 49ers on Sunday when they host the Carolina Panthers.

When will he find out if that's the case from his coaches?

"I'll probably find out Sunday, to be honest," James replied Thursday.

A healthy scratch the past three games, James' speed and play-making ability needs to get on the field, coach Jim Harbaugh said last week.

Kyle Williams has served as the 49ers' primary return man this season, but he's coming off a shaky performance against the Jacksonville Jaguars.

"When my number's called, I'll be ready," James said. "I've got to take advantage of my opportunity."

James was poised to seize the punt-return role this offseason, but a knee injury in the exhibition finale shelved him for the first three regular-season games.

Oregon's all-time leading rusher, James admittedly struggled in the punt-return capacity in his two exhibition seasons.

"At first it was a little shaky," James said. "I never really did it much in college. I did it one year. Never really catching the NFL ball or studying the NFL punter and thinking about the wind.