Server SDKs
Build AI agents, control calls, send messages, and more
Return the internal map of all steps in this context. This is an internal method on Context.
Context
None.
Map<string, Step> — The step map keyed by step name.
Map<string, Step>
1import { ContextBuilder } from '@signalwire/sdk';23const builder = new ContextBuilder();4const ctx = builder.addContext('default');5ctx.addStep('greet').setText('Greet the caller.');6ctx.addStep('ask_name').setText('Ask for their name.');78console.log(ctx.getSteps().size); // 2