> 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. # findSection > Recursively search all sections and subsections for a matching title. [pombuilder]: /docs/server-sdks/reference/typescript/agents/pom-builder Recursively search all top-level sections and their nested subsections for one matching the given title. Unlike `getSection()`, this also searches subsections. ## **Parameters** **`title`** `string` — required The section heading to search for. --- ## **Returns** `PomSection | undefined` -- The first matching section at any depth, or `undefined` if not found. ## **Example** ```typescript {7} import { PomBuilder } from '@signalwire/sdk'; const pom = new PomBuilder(); pom.addSection('Rules', { subsections: [{ title: 'Tone', body: 'Be professional and warm.' }], }); const tone = pom.findSection('Tone'); console.log(tone?.body); // "Be professional and warm." ``` > Recursively search all sections and subsections for a matching title.