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

# pom

> Get a PromptObjectModel snapshot of the builder's current sections.

[ref-pom]: /docs/server-sdks/reference/typescript/agents/pom-object-model

Getter that returns a [`PromptObjectModel`][ref-pom] populated from the
builder's current sections. This mirrors Python's `PomBuilder.pom` attribute and
gives you access to the lower-level model for JSON/YAML serialization or direct
section manipulation.

The returned model is a **snapshot**. Mutating it does not propagate back to the
builder.

## **Parameters**

None.

## **Returns**

[`PromptObjectModel`][ref-pom] -- A fresh model built from the builder's current
sections.

## **Example**

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

const builder = new PomBuilder();
builder.addSection('Role', { body: 'You are a helpful assistant.' });

const model = builder.pom;
console.log(model.toYaml());
```