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

# get_step

> Get an existing step by name.

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

Get an existing step by name for inspection or modification.

## **Parameters**

**`name`** `str` — required

Step name to look up.

---

## **Returns**

[`Step`][step] if found, `None`
otherwise.

## **Example**

```python {9}
from signalwire import AgentBase

agent = AgentBase(name="my-agent", route="/agent")

contexts = agent.define_contexts()
ctx = contexts.add_context("default")
ctx.add_step("collect_info").set_text("Collect the caller's account information.")

step = ctx.get_step("collect_info")
if step is not None:
    step.set_functions(["verify_identity"])

agent.serve()
```