addBullets

View as MarkdownOpen in Claude

Add a POM section with bullet points to the step. Cannot be used with setText().

Parameters

title
stringRequired

Section heading.

bullets
string[]Required

List of bullet point strings.

Returns

Step — Self for method chaining.

Example

1import { ContextBuilder } from '@signalwire/sdk';
2
3const builder = new ContextBuilder();
4const ctx = builder.addContext('default');
5const step = ctx.addStep('collect_info');
6step.addSection('Task', 'Collect the caller\'s account information.');
7step.addBullets('Required Information', [
8 'Full legal name',
9 'Account number (10 digits)',
10 'Reason for calling',
11]);