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

# addSection

> Add a POM section to the context prompt.

[ref-context]: /docs/server-sdks/reference/typescript/agents/context-builder/context

Add a POM section to the context prompt. Cannot be used together with `setPrompt()`.

## **Parameters**

**`title`** `string` — required

Section heading.

---

**`body`** `string` — required

Section body text.

---

## **Returns**

[`Context`][ref-context] -- Self for method chaining.

## **Example**

```typescript {5-6}
import { ContextBuilder } from '@signalwire/sdk';

const builder = new ContextBuilder();
const ctx = builder.addContext('default');
ctx.addSection('Role', 'You are a billing specialist.');
ctx.addSection('Guidelines', 'Always verify account ownership first.');
ctx.addStep('greet').setText('Greet the caller and ask how you can help.');
```