---
title: "Surround With"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/text/surroundwith
markdown: https://docs.nodetool.ai/nodes/nodetool/text/surroundwith.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/text/surroundwith.md
---

# Surround With

**Type:** `nodetool.text.SurroundWith`

**Namespace:** `nodetool.text`

## Description

Wraps text with the provided prefix and suffix.
    text, format, surround, decorate

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` |  | `` |
| prefix | `str` |  | `` |
| suffix | `str` |  | `` |
| skip_if_wrapped | `bool` | Do not add duplicates if the text is already wrapped | `true` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](./) namespace.
