What is a tool to get all pages for a site from Google?

Type your comment> @gunroot said:

What about sitemap.xml ?
But it mostly work for content/blogging sites only.

Maybe he’s talking about robots.txt?