> 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. # getPromptSections > Return prompt sections for the agent. Returns prompt sections that the agent incorporates into its system prompt. > **Note** > > Subclasses should override the internal `_getPromptSections()` method, not > `getPromptSections()` directly. The public method checks `skip_prompt` before > delegating to the internal one. Takes no parameters. ## **Returns** `SkillPromptSection[]` -- Array of prompt section objects. Each section has a `title` and either a `body` string or a `bullets` array. An optional `numbered` boolean flag renders bullets as a numbered list. ## **Example** ```typescript {11} import { SkillBase, type SkillToolDefinition, type SkillPromptSection } from '@signalwire/sdk'; class WeatherSkill extends SkillBase { static override SKILL_NAME = 'weather'; static override SKILL_DESCRIPTION = 'Provides weather information'; override getTools(): SkillToolDefinition[] { return []; } protected override _getPromptSections(): SkillPromptSection[] { return [ { title: 'Weather Information', body: 'You can check weather for any location using the get_weather tool.', }, { title: 'Weather Guidelines', bullets: [ 'Always confirm the location before checking weather', 'Report temperature in the user\'s preferred units', ], }, ]; } } ``` > Return prompt sections for the agent.