# Query Engine Tool

Convierte un Query Engine en una Tool que puede ser utilizada por [Sub-Question Query Engine](/espanol/documentacion-oficial/integraciones/llamaindex/engine/sub-question-query-engine.md) o Agent.

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

## Entradas

* Vector Store Index

## Parámetros

| Nombre           | Descripción                                                    |
| ---------------- | -------------------------------------------------------------- |
| Tool Name        | Nombre de la tool                                              |
| Tool Description | Una descripción para indicar cuándo el LLM debe usar esta tool |

## Salidas

| Nombre          | Descripción                                                                                                                                             |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| QueryEngineTool | Punto de conexión para Agent o [Sub-Question Query Engine](/espanol/documentacion-oficial/integraciones/llamaindex/engine/sub-question-query-engine.md) |


---

# 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.flowiseai.com/espanol/documentacion-oficial/integraciones/llamaindex/tools/query-engine-tool.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.
