> For the complete documentation index, see [llms.txt](https://wfsys.gitbook.io/workflow-forms-syntax/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wfsys.gitbook.io/workflow-forms-syntax/workflow_forms/values/input.md).

# Input

## Шаблон Input <a href="#template_input" id="template_input"></a>

```xml
<Input Name="InputName">InputText</Input>
```

## Описание Input <a href="#description_input" id="description_input"></a>

Значение, которое будет передано в команду при выполнении.

Необязательный тэг. Значение тэга `<Input>`: любое значение.

#### Атрибуты тэга `<Input>` <a href="#attributes_input" id="attributes_input"></a>

<table data-header-hidden><thead><tr><th align="center"></th><th width="454.3333333333333"></th></tr></thead><tbody><tr><td align="center">Name</td><td><p>Имя входящего значения. </p><p></p><p>Обязательный атрибут. Ожидается имя одного из входящих значений, описанных в команде.</p></td></tr></tbody></table>

Например, описание команды типа [ValueSetCommand](/workflow-forms-syntax/workflow_forms/commands/value_set_command.md) может выглядеть так:

```xml
<Command Name="ValueSetCommand" Type="ValueSetCommand" Assembly="Commands">
    <Object Name="TextBox">
        <Input Name="Text" />
    </Object>
</Command>
```

Такое описание будет означать, что в качестве входящего значения Text будет использовано значение, которое будет следующим образом передано при вызове данной команды:

```xml
<Command Name="ValueSetCommand">
    <Input Name="Text">text</Input>
</Command>
```

При описании команды для тэга `<Input>` можно не указывать атрибут `Name`, в этом случае именем входящего значения будет Value.

При вызове команды c тэгом `<Input>` с именем Value тэг `<Input>` можно опускать, то есть при вызове команды следующие 2 описания равнозначны.

Описание 1:

```xml
<Command Name="ValueSetCommand">
    <Input Name="Value">text</Input>
</Command>
```

Описание 2:

```xml
<Command Name="ValueSetCommand">text</Command>
```

Если при вызове команды не был передан тэг `<Input>` с именем, которое используется при описании, то в качестве входящего значения будет использовано значение, определенное в данном тэге `<Input>` по умолчанию.

Значение по умолчанию для тэга `<Input>` задаются следующим образом:

```xml
<Command Name="ValueSetCommand" Type="ValueSetCommand" Assembly="Commands">
    <Object Name="TextBox">
        <Input Name="Text">default text</Input>
    </Object>
</Command>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wfsys.gitbook.io/workflow-forms-syntax/workflow_forms/values/input.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
