# Simple Editor

## Working with the input & output model editor

<figure><img src="/files/IiN1OUN2qOZnfzGK3WqY" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
After making any changes to the input/output model, be sure to save them by clicking the **Save** button in the bottom-right corner. Please note that all changes apply only to the current version of the rule.
{% endhint %}

{% hint style="info" %}
There are no limitations when creating input/output models. A model can have an unlimited number of root objects and child objects.
{% endhint %}

### Adding a Root object

To create a root object, click ![](/files/-MQT2spzTHmRZpO8lZLe) button.

### Adding a Child object

To create a child object, click **+** sign on the parent object.

<figure><img src="/files/j0PTNSgqRDhFAPaOMpRF" alt="" width="261"><figcaption><p>Adding a child input object</p></figcaption></figure>

### Moving an Object (Dragging)

To move an object to another parent or make it a child, drag the object and drop it on the desired parent. To make a child object a parent, drag it and drop it at the same level as the current parent.

<figure><img src="/files/C9FnSozWi4gr9tGyIoxm" alt=""><figcaption><p>Dragging I/O objects</p></figcaption></figure>

### Showing Child Objects

To view child objects, click the arrow next to the parent object.

<figure><img src="/files/ka23CVfBQ25T6jbJpnkl" alt="" width="230"><figcaption></figcaption></figure>

### Deleting an Object

To delete an object, click the **Delete** <img src="/files/-MQT2dO6ONw50ted6hbx" alt="" data-size="line"> button on the object.

### **Viewing Object Structures**

To display the entire structure and all objects, click the ![Expand All](/files/-MQT3bAIBAWHNsHgyKw-) button. To view only parent objects, click the ![Collapse](/files/-MQT3Y4J-AIqgvpah9pQ) button.

### Renaming an Object

To rename an object, click its name. An input box will appear. After making your changes, click outside the box or press **Enter** key to close it.

{% hint style="warning" %}
Only letters, natural numbers and hyphens are allowed.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.decisionrules.io/doc/v1/decision-tables/input-and-output/simple-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
