AI Tool Node
The AI Tool node allows your workflow to call external tools and APIs, such as weather data, search engines, Google services, and more.
It acts as a function-calling node that can be configured with different tool types.
Node Type
ai-tool
Tool Subtypes
Each AI Tool node must specify a toolSubtype
. Available subtypes include:
fetch-weather-data
— Fetches weather data for a given cityduckduckgo-search
— Performs a DuckDuckGo search and returns resultsbrave-search
— Performs a Brave Search using the Brave Search APIdate-time-now
— Returns the current date and time in ISO 8601 formatgmail-fetch-emails
— Fetches emails from Gmail using search queriesgdrive-fetch-files
— Fetches files from Google Drive using search queriesgcalendar-fetch-events
— Fetches events from Google Calendar within a specified date range
Inputs
- Tool-specific parameters (e.g., city name, search query, etc.)
- User configuration (e.g., API keys, OAuth tokens)
Outputs
- Tool-specific output (e.g., weather data, search results, emails, files, events, etc.)
Example Configuration
{
"type": "ai-tool",
"toolSubtype": "fetch-weather-data",
"userConfig": {
"apiKey": "YOUR_WEATHER_API_KEY"
}
}