This is already a sage-webwork bridge that allows WeBWorK problems to use Sage for computation. I'm not familiar with how it works, but perhaps others can say more.
WeBWorK Main Forum
Possible to mandate algebraic expressions be fully simplified? (not same as reduced)
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day