Listen to a lot of jazz -- all different styles. You have to "hear it" in your head, before you can play it with your fingers. This is particularly true with improvisation, which is at the heart of jazz. If you can't hear what you intent to play, then what you play is by definition, an accident. If you hear things you like listening to jazz, take the time to transcribe the line -- that is, play what you are hearing in the recording, on the instrument. Experiment with the line. Pay attention to phrasing, making each line you transcribe sound musical when you play it. Over time, this will help build your jazz vocabulary. No shortcuts - it takes time, lot's of time. Find some helpful YouTube videos with tips and ideas. And MasterClass has a few Jazz greats sharing their thoughts on improvisation and playing. You definitely want to get a copy of "The Real Book" (Amazon sells it). Get the "Key of C" version. Find a recording of a Jazz song you like in the Real Book, and learn it by memory. Practice playing the melody with your right hand and bass notes with your left. Then practice playing the melody with your right hand, then the chords with your left (chord voicings in Jazz take time to learn and explore). Then practice improvising over the chord progression - small motifs and phrases to start, then expand on those ideas. After you get a few songs down from the real book. find a (COVID safe) bass player or guitar player to work with on the songs. Best to find folks at the same level, so you can learn to play and listen as a group. And did I mention listen to a lot of Jazz. It takes time, patience and effort - read the book "Mastery" by George Leonard, substituting Jazz for martial arts (it's the same learning process your brain goes through). Perhaps there's an accomplished Jazz improvisation teacher in your area?
Just a few ideas from someone who has worked on playing Jazz for 45 years and still learning and playing every day. Enjoy the journey....