not easy what you're trying to do! it's been discussed many times
are you trying to do something like Using Tidal as a MIDI Instrument ?
or is it more like an MPC loop thing where you'd play a rhythm and then tidal would play that back as structure ?
the idea that comes to mind is you'll need to use some haskell midi library and program something such that when you press a key it sends a once
type message to SuperDirt