> This page is for Server SDKs.

> 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.

# reset

> Reset the SWML document to an empty state.

Resets the document to an empty SWML structure (`{ version: '1.0.0', sections: { main: [] } }`).

## **Parameters**

This method takes no parameters.

## **Returns**

`this` -- The builder instance for method chaining.

## **Example**

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

const builder = new SwmlBuilder();
builder.addVerb('answer', {});
builder.addVerb('play', { url: 'https://example.com/audio.mp3' });

builder.reset();
// Document is now empty: { version: '1.0.0', sections: { main: [] } }
```