from promptflow.core import tool
from chat_with_pdf.rewrite_question import rewrite_question


@tool
def rewrite_question_tool(question: str, history: list, env_ready_signal: str):
    return rewrite_question(question, history)
