Hybrid inverter grid input and output wires or same…?

Yes Hybrid inverter input is also its grid tie output. if its grid tie capable it will send power back to the grid on the grid input wires. When inverter run on ongrid mode inverter puts a slightly higher voltage onto the Grid Line, and that causes the current to flow out to the grid.