Is Autostretch available as a script command

autostretch is documented as a script command, but when typing it in the tool returns Unknown command?

Hello, the documentation you are looking at is not for the version you are using. Please read the first line of the page.
It is available in the development version.