Skip to main content

AI Tools

Tool nodes provide capabilities that AI Agents can invoke during reasoning. Each tool defines a schema that the LLM understands and uses to decide when and how to call the tool.

How Tools Work

  1. Connect Tool nodes to the AI Agent’s input-tools handle (diamond shape)
  2. Agent discovers connected tools and their schemas
  3. LLM decides when to call tools based on the user’s request
  4. Tool executes and returns results to the agent
  5. Agent continues reasoning with the tool’s output

Available Tools

Many nodes are dual-purpose - they work as standalone workflow nodes AND as AI Agent tools. Search nodes (Brave, Serper, Perplexity), the code executors (Python, Monty, JavaScript, TypeScript), WhatsApp, Telegram, Google Workspace, email, and browser nodes all fill the same tool schema when connected to an agent’s input-tools handle. See Documents, WhatsApp, and AI Agents for those.

Calculator Tool

Performs mathematical operations including basic arithmetic and advanced functions.

Operations

Parameters

string
default:"calculator"
Tool identifier shown to the LLM
string
Description of the tool’s capabilities for the LLM

Schema (LLM View)

Example Interaction


Current Time Tool

Gets the current date and time with timezone support.

Parameters

string
default:"currentTime"
Tool identifier shown to the LLM
string
Description of the tool’s capabilities
string
default:"UTC"
Default timezone (e.g., “America/New_York”, “Europe/London”, “Asia/Tokyo”)

Schema (LLM View)

Output

Example Interaction


Timer Tool

The Timer node is a dual-purpose node that works both as a workflow delay node and as an AI Agent tool. When connected to an agent’s input-tools handle, the agent can set timers and delays programmatically.

Parameters

string
default:"timer"
Tool identifier shown to the LLM
number
required
Delay duration
select
default:"seconds"
Time unit: seconds, minutes, hours

Schema (LLM View)

Output

Example Interaction

The Timer node appears in both the Schedulers section (as a workflow node) and the Tools section (as an AI Agent tool). See Schedulers & Triggers for workflow usage.

Task Manager Tool

Tracks tasks delegated to child sub-agents. When a parent agent delegates work to a connected agent (fire-and-forget), it uses this tool to check on progress and results.

Schema (LLM View)

Example Interaction


Write Todos Tool

Structured task-list planning for complex multi-step operations. The agent maintains a checklist of pending / in-progress / completed items, updating it as it works. This helps the agent stay organized and lets you watch progress in real time.

Schema (LLM View)

Editable Current Todos Panel

When you select a Write Todos node, its parameter panel shows the LIVE todo list (shared by all Write Todos nodes in the same workflow). You can add, remove, edit text, or click an item to cycle its status - and the agent sees your edits on its next turn.

Example Interaction

The agent only reaches for this tool on genuinely multi-step work (3+ steps). Trivial requests are handled directly without a todo list.

Agent Builder Tool

Lets an agent grow its own toolset at runtime by mutating the canvas. The LLM sees a single agentBuilder tool with an operation selector.
Tools added mid-run become callable on the agent’s next turn, not the current one - the agent loop binds tools at the start of each turn. Each operation’s summary ends with “Available on your next turn” so the agent knows to wait.

Web Search Tools

OpenCompany ships one free web-search tool plus three dual-purpose search nodes that also work as standalone workflow nodes. Free web search - no API key required. Exposed to the agent as the web_search tool.
string
required
The search query
number
Maximum number of results to return

Brave / Serper / Perplexity (dual-purpose, API key required)

These are dual-purpose nodes - they run as normal workflow search nodes AND as AI Agent tools when connected to the tools handle.

Provider Comparison

Example Interaction


Android Toolkit

Gateway tool that aggregates Android service nodes for device control.

Architecture

The Android Toolkit follows the Sub-Node pattern from n8n and Toolkit pattern from LangChain:
Connected Android service nodes define what the toolkit can do. The LLM sees a single android_device tool with capabilities based on connected services.

Parameters

string
default:"android_device"
Tool identifier shown to the LLM
string
Description of the toolkit’s capabilities

Schema (Dynamic)

The schema is built dynamically based on connected Android service nodes:

Connecting Services

  1. Add Android service nodes (Battery Monitor, WiFi Automation, etc.)
  2. Connect them to the Android Toolkit’s main input
  3. Connect the Toolkit to the AI Agent’s tools handle
Only connected services are available to the agent.

Tool Schema Editor

The Android Toolkit includes a schema editor for customizing how the LLM sees each service:
  1. Select the Android Toolkit node
  2. Open the Tool Schema Editor
  3. Select a connected service
  4. Customize the description, fields, and types
  5. Save changes

Example Interaction

Available Services

When corresponding Android service nodes are connected:

Tool Execution Flow

When the AI Agent calls a tool:
  1. Status broadcast - executing_tool status sent to frontend
  2. Tool node highlighted - Shows cyan border and pulse animation
  3. Handler executed - Backend runs the tool’s handler function
  4. Result returned - Output sent back to the agent
  5. Agent continues - Incorporates result into response

Tool Output in Variables

Tool outputs are available as template variables:

Agent Delegation Tool

AI Agents and specialized agents can be connected as tools to parent agents, enabling hierarchical task delegation. OpenCompany ships 16 specialized agents (Android, Coding, Web, Task, Social, Travel, Tool, Productivity, Payments, Consumer, Autonomous, Orchestrator, AI Employee) plus the RLM, Claude Code, and Codex agents.

How It Works

  1. Connect any agent to a parent agent’s input-tools handle
  2. Parent calls delegate_to_<agent_type>(task, context)
  3. The child agent runs with its own connected tools, skills, and memory
  4. Team-lead agents (Orchestrator, AI Employee) delegate through a dedicated input-teammates handle

Schema

Example

Parent delegates: delegate_to_coding_agent(task="Write a function to parse JSON") Child agent executes independently with its own connected tools.
Use agent delegation for complex sub-tasks that don’t need immediate results.

Creating Custom Tools

Custom tools are backend plugins. Each tool is a single self-contained folder under server/nodes/tool/<name>/ rooted at __init__.py - a ToolNode subclass whose Pydantic Params model drives the LLM-visible schema. The plugin auto-registers on import; no frontend edits are needed. Key steps:
  1. Create server/nodes/tool/<name>/__init__.py with a ToolNode subclass
  2. Define a Pydantic Params model (its fields become the tool’s LLM schema)
  3. Implement the operation with an @Operation method
  4. Set component_kind = "tool" and add group = ("tool", "ai")
See the Nodes Cookbook (server/nodes/README.md) and the Node Creation Guide in the repository for the full recipe.

Tips

Connect only the tools the agent needs. Too many tools can confuse the LLM.
Provide clear toolDescription to help the LLM understand when to use each tool.
Use Web Search for current information not in the model’s training data.
The Android Toolkit only shows services you connect - add only what you need.
Tool nodes execute when the AI Agent calls them, not when the workflow runs. They’re passive until invoked.

AI Agents

Connect tools to AI Agent

AI Skills

Skills that use tools

Android Nodes

16 Android service nodes

Webhooks

HTTP Request node