# How can compute minimal polynomial on a tower of a finite filed?

I have two extension field $E=K(d)$ and $K=F(a)$ where $F=GF(p)$ for a prime $p$. How can I compute the minimal polynomial of $d$ over $F$. There is a command "absolute_minpoly" that works for number fields and not extension fields of finite fields. I want a command like that.