The Generate Schema Report tool can be run on workspaces, feature datasets, feature layers, and tables, but, when you input anything other than a workspace (.sde, .gdb), the Workspace Properties are blank or incomplete. At a minimum, I would expect the Path (or catalogPath for JSON outputs) variable to be populated with the full path of the input- which could be the REST URL for feature layers.