Which might take a few other threads of context (haha) to let you grok what we’ve all be kjetching about for the last weeks on this forum Much love and effort is being thrown at the exact problem you are facing.
Grab a [thing] and read a bunch of ideas on here and attempts at solving your issue.
I think we are all going to soon congeal on a .01 standard for Agentic Controls.