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.

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.
