Text fields in Keyboard Maestro are typically processed for text tokens (see this topic).
%anytext% will be replaced with the value of the variable named anytext or with the value of the text token if the anytext happens to match a text token.
Double the percentage characters to quote them. Eg %%anytext%%.