This is home inspection issue and attorney has nothing to do with it (if you use both of them). If the agent still won't do it, contact his/her broker and complain about it. If it still does not work, warn your agent that the home can't pass home inspection and the this would be ground to cancel the purchase agreement. Then you are free to find another buyer's agent and re-do the purchase contract.
I know this is a little extreme, but agent should do agent's job. This is how we agents get paid.
Also, if you know that the pool has been neglected for some time, then it is reasonable to have the pool re-opened for inspection. There may be more problem with the pool that requires attention.