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

# prompt_add_to_section

> Append content to an existing prompt section or create it if it does not exist.

[ref-agentbase]: /docs/server-sdks/reference/python/agents/agent-base

Append content to an existing section. If the section does not exist, it is created
automatically.

## **Parameters**

Title of the section to update (or create).

Text to append to the section body.

A single bullet point to add.

Multiple bullet points to add.

## **Returns**

[`AgentBase`][ref-agentbase] -- Returns self for method chaining.

## **Example**

```python {5-6}
from signalwire import AgentBase

agent = AgentBase(name="support", route="/support")
agent.prompt_add_section("Rules", bullets=["Be polite"])
agent.prompt_add_to_section("Rules", bullet="Never lie")
agent.prompt_add_to_section("Rules", bullets=[
    "Keep responses concise",
    "Ask clarifying questions when needed"
])
agent.serve()
```