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

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