Input and output schema tree builder tool