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

# reset

> Clear all sections and return the builder to its initial empty state.

Clear all top-level sections from the builder, returning it to an empty
initial state. Also clears the internal section lookup map used by
[`hasSection()`](/docs/server-sdks/reference/typescript/agents/pom-builder/has-section)
and
[`getSection()`](/docs/server-sdks/reference/typescript/agents/pom-builder/get-section).

## **Returns**

`this` -- returns the builder for fluent chaining.

## **Example**

```typescript {7}
import { PomBuilder } from '@signalwire/sdk';

const pom = new PomBuilder();
pom.addSection('Intro', { body: 'Welcome.' });
pom.addSection('Rules', { bullets: ['Be nice.', 'Stay on topic.'] });

pom.reset();
console.log(pom.renderMarkdown()); // "" (empty)
```