Commands/getstructure

Detect the structure here