***

title: setSkipToNextStep
slug: /reference/typescript/agents/context-builder/step/set-skip-to-next-step
description: Automatically advance to the next step without evaluating criteria.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[ref-step]: /docs/server-sdks/reference/typescript/agents/context-builder/step

Automatically advance to the next step without evaluating step criteria. Useful
for steps that should always flow through sequentially.

## **Parameters**

<ParamField path="skip" type="boolean" required={true} toc={true}>
  Whether to skip to the next step automatically.
</ParamField>

## **Returns**

[`Step`][ref-step] -- Self for method chaining.

## **Example**

```typescript {7}
import { ContextBuilder } from '@signalwire/sdk';

const builder = new ContextBuilder();
const ctx = builder.addContext('default');
const preamble = ctx.addStep('preamble');
preamble.setText('Read the disclaimer to the caller.');
preamble.setSkipToNextStep(true);
ctx.addStep('main').setText('Help the caller with their request.');
```