---
title: "String Input"
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/input/stringinput
markdown: https://docs.nodetool.ai/nodes/nodetool/input/stringinput.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/input/stringinput.md
---

# String Input

**Type:** `nodetool.input.StringInput`

**Namespace:** `nodetool.input`

## Description

Accepts a string value as a parameter for workflows.
    input, parameter, string, text, label, name, value

    Use cases:
    - Define a name for an entity or process.
    - Specify a label for a component or output.
    - Enter a short keyword or search term.
    - Provide a simple configuration value (e.g., an API key, a model name).
    - If you need to input multi-line text or the content of a file, use 'DocumentFileInput'.

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| name | `str` | The parameter name for the workflow. | `` |
| value | `str` |  | `` |
| description | `str` | The description of the input for the workflow. | `` |
| max_length | `int` | Maximum number of characters allowed. Use 0 for unlimited. | `0` |
| line_mode | `str` | Controls whether the UI should render the input as single-line or multiline. | `single_line` |

## Outputs

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

## Related Nodes

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