If you're referring to the adaptive response in the correlation search itself, as opposed to the contextual dropdown in the additional fields, you could try using a sequence template to pass relevant fields like event_id from the original correlation search into a subsequent correlation search, and then trigger the response from there. Is there a specific reason you want this to be implemented in Python code rather than a GUI-driven workflow? NB: This solution is untested, so please let us know whether this works for you.
... View more