***

title: get_post_prompt
slug: /reference/python/agents/agent-base/get-post-prompt
description: Retrieve the current post-prompt text.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Retrieve the current post-prompt text.

## **Parameters**

None.

## **Returns**

`Optional[str]` -- The post-prompt text, or `None` if not set.

## **Example**

```python {5}
from signalwire import AgentBase

agent = AgentBase(name="support", route="/support")
agent.set_post_prompt("Summarize this call as JSON with intent, resolution, and sentiment.")
post_prompt = agent.get_post_prompt()
if post_prompt:
    print(post_prompt)
```