How to pass intent name instead of a query to the agent.handle_message()

How do I pass intent name instead of a query text in agent.handle_message()/agent.handle_text() to get the bot output?

You can use agent.handle_message(/intent_name) directly.