Python - Can I get at the in/out under format options?

I’m trying automate adding heads and tails to clips that have previously been consolidated. You can modify the in/out under format options to do this… does anyone know what to call this in python?

Screenshot 2023-05-24 at 11.32.35 AM