> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/digitalworkers/ifs-loops-digital-workers/how-to-guides/add-a-tool.md).

# Add a tool

### Start a new tool

{% stepper %}
{% step %}
Go to the **TOOLS** section.
{% endstep %}

{% step %}
Enter a **TOOL NAME** and a **DESCRIPTION**.
{% endstep %}

{% step %}
Click **SUBMIT**.
{% endstep %}
{% endstepper %}

### Configure the trigger & input form <a href="#configure-the-trigger-and-input-form" id="configure-the-trigger-and-input-form"></a>

{% stepper %}
{% step %}
A trigger is automatically created and associated with a form.
{% endstep %}

{% step %}
Edit the input form:

1. Example: *Create Ticket Form*.
   {% endstep %}

{% step %}
Add the necessary fields:

1. **Title**
2. **Description**
3. **Priority** (dropdown field)
   {% endstep %}

{% step %}
Click **SAVE**.
{% endstep %}

{% step %}
Preview the form to see how it will look.
{% endstep %}
{% endstepper %}

### Add an output task <a href="#add-an-output-task" id="add-an-output-task"></a>

{% stepper %}
{% step %}
Click on **+** → select **CUSTOM TASK**.
{% endstep %}

{% step %}
Choose **LOOP TASK**.
{% endstep %}

{% step %}
Search for and select "Widget Response Tas&#x6B;**"**.
{% endstep %}

{% step %}
Define the output format:

1. Add a **SUCCESS MESSAGE** (e.g., *Created Zendesk ticket*).
2. Include relevant fields to display:
   1. **TICKET ID** → click **+** on the "Create Zendesk Ticket" tab → expand attributes → choose "Identity at Sourc&#x65;**"**
   2. **URL** → click **+** → select "UR&#x4C;**"**
      {% endstep %}

{% step %}
Click **SAVE**.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kb.theloops.io/digitalworkers/ifs-loops-digital-workers/how-to-guides/add-a-tool.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
