> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/ai-in-umbraco/17.latest/management-api/tools/list.md).

# List Tools

Retrieve a list of all user-configurable tools grouped by scope. Tools are registered by add-ons (such as Agent) and represent functions that AI agents can call during execution.

## Endpoint

{% code title="Endpoint" %}

```
GET /umbraco/ai/management/api/v1/tools
```

{% endcode %}

## Response

### Success (200 OK)

{% code title="Response" %}

```json
[
    {
        "id": "get-content-by-id",
        "name": "Get Content By Id",
        "description": "Retrieves a content item by its unique identifier.",
        "scopeId": "content-read",
        "isDestructive": false,
        "tags": ["content", "read"]
    },
    {
        "id": "update-content",
        "name": "Update Content",
        "description": "Updates an existing content item with new property values.",
        "scopeId": "content-write",
        "isDestructive": true,
        "tags": ["content", "write"]
    },
    {
        "id": "search-content",
        "name": "Search Content",
        "description": "Searches for content items matching the given query.",
        "scopeId": "search",
        "isDestructive": false,
        "tags": ["search"]
    }
]
```

{% endcode %}

### Item Properties

| Property        | Type      | Description                                      |
| --------------- | --------- | ------------------------------------------------ |
| `id`            | string    | Unique identifier for the tool                   |
| `name`          | string    | Display name                                     |
| `description`   | string    | Description of what the tool does                |
| `scopeId`       | string    | The scope this tool belongs to                   |
| `isDestructive` | boolean   | Whether the tool performs destructive operations |
| `tags`          | string\[] | Tags for categorization                          |

## Examples

### List All Tools

{% code title="cURL" %}

```bash
curl -X GET "https://your-site.com/umbraco/ai/management/api/v1/tools"
```

{% endcode %}

### JavaScript

{% code title="JavaScript" %}

```javascript
const response = await fetch("/umbraco/ai/management/api/v1/tools", {
    credentials: "include",
});

const tools = await response.json();
console.log(`Found ${tools.length} tools`);

// Group by scope
const toolsByScope = tools.reduce((acc, tool) => {
    acc[tool.scopeId] = acc[tool.scopeId] || [];
    acc[tool.scopeId].push(tool);
    return acc;
}, {});
```

{% endcode %}


---

# 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://docs.umbraco.com/ai-in-umbraco/17.latest/management-api/tools/list.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.
