---
title: "Add-ons, AI Tools and the Tool Log"
description: "Manage the add-ons running for your cameras, give the AI tools to call your own systems, and check every tool call it made."
url: https://vigiora.com/docs/ai/ai-tools-and-tool-log
updated: 2026-11-25T11:37:01.000Z
---

# Add-ons, AI Tools and the Tool Log

> Manage the add-ons running for your cameras, give the AI tools to call your own systems, and check every tool call it made.

Three pages in **Settings** control what the AI runs and what it can do:

| Page | What it's for | Who can open it |
| --- | --- | --- |
| **Add-ons** (**Settings** → **AI and add-ons**) | The add-ons running for your cameras, and which cameras each one serves. Called **HAL** before version 1.7.0. | Admins and operators |
| **AI Tools** (**Settings** → **Cameras and recording** → **Speakers, sirens and lights**) | Functions the AI may call: your own REST APIs or Home Assistant. | Admins |
| **Tool Log** (**Settings** → **AI and add-ons** → **Tool log**) | Every tool call the AI or an operator made, and its result. | Admins |

<a id="hal-services"></a>

## Add-ons

An **add-on** is one AI module that works on your cameras. It runs on your server, on its GPU, on an edge device such as a Jetson, or on another machine. Before version 1.7.0 the app called add-ons **Runners**, **HAL services** and **Vision Engine**. The old addresses `/hal` and `/runners` open the Add-ons page. The API keeps the older names (`runners` and the `hal-…` service codes) for compatibility.

Add-ons do the AI work. Vigiora has two kinds:

- **Built-in add-ons** run inside your server: `core-ai` (Core AI), `motion-detect` (Motion detection), `hal-video` (AI scene alerts), `hal-audio` (Voice detection) and `hal-live` (AI live watch); before 1.6.19 the last three were `gemini-video`, `gemini-audio` and `gemini-live`.
- **Installed add-ons** run as separate programs, often on a machine with a GPU, and connect to your server by themselves. The four Vigiora add-ons are **Objects** (`hal-objects`, a preview from version 1.6.10), **Plates** (`hal-license-plate`), **Faces** (`hal-face`) and **Vision**. Others are people counting (`hal-tracker`), weapons (`hal-weapon`) and smart motion (`hal-smart-motion`).

What each add-on does, how to install one and how object recognition works: [Add-ons and object recognition](https://vigiora.com/docs/ai/hal-services). Every add-on card shows a **Free** or **Paid** label.

![The Add-ons page, called HAL Services before 1.7.0, listing core-ai, gemini-audio, gemini-live, gemini-video and motion-detect with their assigned cameras](https://vigiora.com/docs/img/ai/ai-tools-and-tool-log-1-hal.png)

*Each add-on shows whether it's running and which cameras it serves.*

### Assign cameras to an add-on

1. **Open Add-ons**

   Open **Settings** → **AI and add-ons** → **Add-ons**.

2. **Pick cameras**

   On the add-on's card, click camera chips under **Assigned monitors** to add or remove them.

3. **Save**

   Click **Save**.

This is the same as switching the add-on on or off in each camera's **AI Guardian** tab. Plan limits apply either way.

### Add-on controls

| Control | What it does |
| --- | --- |
| Stop / Start | Stop or start the add-on's workers. The process stays alive. Takes effect within about 30 seconds. |
| Restart | Restart the add-on process. |
| Revoke | Revoke the add-on's access token. An installed add-on enrols again on its next restart. |
| Tuning config | Add-on-wide settings, when the add-on has any. |

Click an add-on to open its detail page: system metrics, assigned cameras with detections per hour, and recent events.

![An add-on detail page with metrics, assigned monitors and recent events](https://vigiora.com/docs/img/ai/ai-tools-and-tool-log-2-hal-detail.png)

*The detail page helps you check that an add-on is actually producing results.*

### Connect a new add-on

The [install page](https://vigiora.com/docs/ai/hal-services#install-an-add-on) does this for you. An add-on you start yourself enrols itself the first time it starts, using your server's enrolment key. The installer doesn't create one: an admin sets `VIGIORA_ENROLL_KEY` in the server's settings file (`/etc/vigiora.env` on Linux) and restarts the server. Until an add-on enrols, the page shows *No add-ons installed yet*.

> **Warning**
>
> The enrolment key lets a program join your server as an AI add-on. Keep it secret, like a password.

## AI Tools

AI Tools let Guardian chat and AI live watch call your own systems: look up a product, read a sensor, switch on a light. The AI decides when to call a tool from its description.

![The AI Tools page listing tools with their display names and descriptions](https://vigiora.com/docs/img/ai/ai-tools-and-tool-log-3-tools.png)

*AI Tools lists every function the AI can call.*

### Add a REST API tool

1. **Open AI Tools**

   Open **Settings** → **Cameras and recording** → **Speakers, sirens and lights**, find **AI Tools**, then click **New tool**.

2. **Describe it**

   Fill in the name, display name and description. Be specific in the description: the AI uses it to decide when to call the tool.

3. **Set the request**

   Choose the **Method** and enter the **URL template**. Put parameters in braces, for example `https://api.example.com/products?q={query}`.

4. **Describe the parameters**

   Fill in **Parameters** as a JSON schema, and **Headers** if the API needs a key.

5. **Test it**

   Enter sample values in **Test args (JSON)**, for example `{"query":"ibuprofen"}`, and click **Test call**. Check the result.

6. **Save**

   Tick **Enabled** and click **Save**.

| Field | What it does | Default |
| --- | --- | --- |
| Type | REST API or Home Assistant. | REST API |
| Tool name | The function name the AI calls. Use snake_case, e.g. search_products. |  |
| Display name | The name people see in the app and the Tool Log. |  |
| Description | Tells the AI what the tool does and when to use it. |  |
| Method | GET or POST. | GET |
| URL template | An http or https address. Parameters go in braces and are URL-encoded. |  |
| Parameters | JSON schema of the arguments the AI must supply. |  |
| Headers | JSON object of request headers. May include API keys for the target service. |  |
| AI Live scope | Leave all cameras unticked to make the tool available everywhere. Tick cameras to limit it to AI live watch on those cameras. Guardian chat can always use it. | Global |
| Enabled | Untick to hide the tool from the AI without deleting it. | On |

> **Note**
>
> Your server makes REST tool calls itself, with a 10-second time limit and a cap on the response size. It refuses private, loopback and link-local addresses, so a REST tool can't reach devices inside your LAN. Use a Home Assistant tool for local devices.

### Add a Home Assistant tool

Home Assistant tools run on the Vigiora Client next to Home Assistant.

1. **Start from the preset**

   On **AI Tools**, click **Home Assistant**.

2. **Choose a capability**

   Pick **Read entity state (ha_get_state)** or **Call a service (ha_call_service)**.

3. **Connect Home Assistant**

   Enter the **Base URL**, for example `http://homeassistant.local:8123`, and a **Long-Lived Access Token**. Create the token in Home Assistant under your profile → **Security** → **Long-Lived Access Tokens**.

4. **Save**

   Click **Save**, then try it from Guardian chat or AI live watch. Home Assistant tools can't be test-called from the form.

> **Tools can change things**
>
> A tool that calls a service (such as unlocking a door) acts as soon as the AI decides to call it. Only add tools whose effects you are happy for the AI to trigger, and check the Tool Log.

## Tool Log

The **Tool Log** lists every tool execution — Home Assistant, external APIs, camera movement (PTZ) and speakers — with its outcome.

![The Tool Log page with error and warning counters, filters and a table of tool executions](https://vigiora.com/docs/img/ai/ai-tools-and-tool-log-4-tool-log.png)

*Filter by result or by tool to find failed calls.*

| Column | Meaning |
| --- | --- |
| **When** | Time of the call. |
| **Tool** | The tool that was called. |
| **Source** | `ai` when the AI called it, `operator` when a person did. |
| **Result** | ok, warning or error, with details. |

The counters at the top show errors and warnings in the last 24 hours. Filter by result (all, error, warning, ok) or by tool name, and click **Refresh** to load new calls.

---

Source: https://vigiora.com/docs/ai/ai-tools-and-tool-log · Last updated 25 Nov 2026, 11:37 UTC
