> 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. # addSubsection > Add a subsection to an existing section. [ref-pombuilder]: /docs/server-sdks/reference/typescript/agents/pom-builder Add a subsection to an existing section. If the parent section does not exist, it is created automatically. ## **Parameters** **`parentTitle`** `string` — required Title of the parent section. --- **`title`** `string` — required Subsection title. --- **`opts`** `object` Optional subsection content. --- **`opts.body`** `string` Subsection body text. --- **`opts.bullets`** `string[]` Bullet points for the subsection. --- ## **Returns** [`PomBuilder`][ref-pombuilder] -- Self for method chaining. ## **Example** ```typescript {5} import { PomBuilder } from '@signalwire/sdk'; const pom = new PomBuilder(); pom.addSection('Role', { body: 'You are a helpful assistant.' }); pom.addSubsection('Role', 'Tone', { body: 'Use a friendly, professional tone.' }); ``` > Add a subsection to an existing section.