# Illusion Query Language

When working with Illusions, you can customize how each form field interacts with the AI.

### Format

The format of the IQL is the following

{% hint style="info" %}
{{iql\_input\_3\_value}}
{% endhint %}

<table><thead><tr><th width="131">Parameter</th><th>Objective</th></tr></thead><tbody><tr><td>{{</td><td>Open with double curly brackets</td></tr><tr><td>iql</td><td>Illustion Query Language Identifier</td></tr><tr><td>input</td><td>What is being fetched</td></tr><tr><td>1</td><td>Row number</td></tr><tr><td>}}</td><td>Close with double curly brackets</td></tr></tbody></table>

### Data Types

<table><thead><tr><th width="242">Format</th><th>Result</th></tr></thead><tbody><tr><td>{{iql_input_#_value}}</td><td>Fetch the Value that the user inputs into the first form field.</td></tr><tr><td>{{iql_illusion_#_result}}</td><td></td></tr></tbody></table>


---

# 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.illusion.ws/illusion-query-language.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.
