> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # get_prompt > Retrieve the current prompt configured on the agent. [set-prompt-text]: /docs/server-sdks/reference/python/agents/agent-base/set-prompt-text Retrieve the current prompt. Returns a string if [`set_prompt_text()`][set-prompt-text] was used, or a POM structure (list of dictionaries) if prompt sections were used. If neither was explicitly set, returns a default prompt: `"You are {name}, a helpful AI assistant."`. ## **Parameters** None. ## **Returns** `str | list[dict[str, Any]]` -- The current prompt in whatever format was configured. ## **Example** ```python {5} from signalwire import AgentBase agent = AgentBase(name="support", route="/support") agent.set_prompt_text("You are a customer support agent for Acme Corp.") prompt = agent.get_prompt() print(prompt) ``` > Retrieve the current prompt configured on the agent.