Do you have a followup command to execute the suggested command?
print -z $command
And the command will appear on your cli as if you had written it.I don't think you can do this in bash. Interestingly, this is something that seems quite difficult to both google and ask GPT for help. Both get confused and are thinking different questions are being asked. Probably because there are similar more common questions but the subtleties of possible wordings makes it difficult to differentiate.