> 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. # addVerb > Add a SWML verb to the main section of the document. Add a verb to the `main` section of the current SWML document. Delegates to the underlying SwmlBuilder's `addVerb()` method. ## **Parameters** **`name`** `string` — required The SWML verb name (e.g., `"answer"`, `"play"`, `"ai"`, `"hangup"`, `"connect"`). --- **`config`** `unknown` — required Configuration for the verb. --- ## **Returns** `this` -- Returns the service for method chaining. ## **Example** ```typescript {5} import { SWMLService } from '@signalwire/sdk'; const service = new SWMLService({ name: 'my-ivr' }); service .addVerb('answer', {}) .addVerb('play', { url: 'https://example.com/greeting.mp3' }) .addVerb('hangup', {}); ``` > Add a SWML verb to the main section of the document.