Ophelia certainly is Claudius's and Polonius's tool. She has engaged Hamlet in conversation knowing that the purpose of the thing is to trap him in front of the hidden witnesses. She has sold out to Claudius just like Rosencrantz and Guildenstern and Gertrude have.