<!-- Source: https://docs.vinsi.ai/tools/function -->
# Function

How to use tool-type function

Created: April 29, 2025

## Description

A tool-type function allows AI agents to make API requests to your backend or to an n8n workflow automation system.

## What is a tool-type function

A tool-type function is designed to make API requests to either your server or the n8n workflow automation system. When defining this function, you provide the following details:

- Name: The identifier for the tool or function.
- Description: A summary of the tool's purpose and intended operation.
- Method: The HTTP method to be used, such as GET or POST.

Edit Tool

![/images/tools-edit-form.png](https://docs.vinsi.ai/images/tools-edit-form.png)

This example demonstrates how to retrieve the AI models available for testing from our API. It is accompanied by a screenshot to guide users visually through the process.

To use this feature, first add the tool to the tools menu. When needed, press the `` ` `` key to open a menu displaying the selected tools.

This is the result, providing you with the ability to utilize and call the tool effectively.

New Agent

![/images/agent-form-add-tool.png](https://docs.vinsi.ai/images/agent-form-add-tool.png)
