# Agentic Tool Use

Our agentic tool use step is a complex capability that's designed for our most advanced users. In almost all cases, you should select a regular Custom Prompt AI step, but when you need AI to repeatedly call tools until a higher level abstract goal is achieved, they can be incredibly powerful.

Below are two videos that showcases how agentic tool use steps are different from other AI steps and how to set one up.

{% embed url="<https://youtu.be/RG5WHGIntpM?si=lD8ElxRMTeNH2Etn>" %}

{% embed url="<https://www.youtube.com/watch?v=Dqe_Czc_qsY>" %}


---

# 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.relay.app/ai/agentic-tool-use.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.
