# Output

The **Output** section defines which results are expected to be returned by the AI agent at runtime.\
Outputs are configured through **parameters**, which act as structured placeholders and can be used as *event received parameters* in triggers, dataflows, or external integrations.

Correct output configuration is essential for predictable and reliable agent behavior.

***

### Output parameters

Parameters define the outputs an agent is expected to produce based on the input, instructions, and sources.

* Parameters are available within the **system instruction** and the **runtime context**
* Each parameter consists of:
  * A name
  * A type
  * An optional description

#### Supported parameter types

* **Text**
* **Boolean**
* **Integer**
* **Fraction**
* **Date**
* **Datetime**

***

### <mark style="color:$danger;">Important limitation: file generation</mark>

An agent **cannot generate one or more files as direct output**.

However, a **PDF file can be generated** from text output produced by an agent by invoking an available dataflow designed for this purpose.

As a result:

* Output parameters of type **File** or **MultipleFiles** **are not supported**
* Using these types as event parameters to start a dataflow will **not work**
* In such cases, the agent or reports will display an error message

***

### Parameter configuration

<table><thead><tr><th width="159">Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>Unique identifier of the parameter. Used to reference the output within instructions and runtime context.</td></tr><tr><td><strong>Type</strong></td><td>Defines the data type of the output (e.g. Text). Determines how the output is processed.</td></tr><tr><td><strong>Description</strong></td><td>Optional explanation of the purpose of the parameter.</td></tr></tbody></table>

***

#### Notes

* Outputs should always be designed to be **machine-readable and reusable** in downstream flows.
* For document generation use cases, return **structured text output** and trigger a dedicated dataflow to create files such as PDFs.


---

# 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://academy.any2info.com/any2info-academy/no-code-platform/ai-studio/create-agent/output-parameters.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.
