Some Inverters have an AGS Circuit which is designed to trigger a Generator Control Module which in turn starts the Generator.
Not all Generators are capable of being Auto-Started. They need an automatic choke, electric start and shutdown.
If you post what Inverter/Charger you have (Make, Model, link to product/manuals) that would be a Good Start to asking your question. Next what kind of Generator Make/Model and link to it if possible.
Below is the Atkinson Electronics Generator Control Start Module which is typical for an Auto-Gen-Start system.
If Atkinson does not support your generator, it is extremely unlikely anyone else's product would as well.
This is the Big List (PDF) to check and se IF your generator is on it or if it a specific module.
GSCM-mini-60Hz (USA & Canada)
The Generator Start Control Module-mini (GSCM-mini) is a non-programmable micro-processor based generator start controller that is designed to auto start and stop gas or propane generators. It supports three types of 3 or 4 wire gas-generator control: momentary, maintained or key ignition. It...
atkinsonelectronics.com