use new AgentValidator.resolve(UserSpecOrModuleCall) in QueryTool (fixes
old commented code)