Tools
Enable agents to interact with external systems and perform actions.Overview
Tools are capabilities that empower agents to go beyond conversation—they can retrieve data, execute logic, trigger workflows, and interact with third-party services. When an agent needs to take action, it:- Identifies the appropriate tool based on the task
- Prepares the required parameters
- Invokes the tool through the platform
- Processes the results
- Incorporates the output into its response
Tool Types
Workflow Tools
Visual, no-code tools built with drag-and-drop. Best for well-defined, traceable processes.Code Tools
Custom JavaScript or Python functions. Best for complex logic and dynamic processing.MCP Tools
Remote functions via Model Context Protocol. Best for enterprise integrations and shared toolsets.Quick Comparison
| Aspect | Workflow | Code | MCP |
|---|---|---|---|
| Interface | Visual builder | Code editor | Server config |
| Languages | No-code | JS, Python | Protocol-based |
| Best for | Defined processes | Custom logic | External services |
| Deployment | API endpoint | Inline execution | Remote server |
| Skill level | Low | Medium-High | Medium |
How Tool Calling Works
Tool Anatomy
Every tool has these components:Name
A unique identifier used in tool selection.Description
Explains what the tool does. The LLM uses this to decide when to invoke it.Parameters
The inputs the tool accepts.Output
What the tool returns.Creating Tools
Option 1: Create New
Build a tool from scratch for your specific needs.- Navigate to Tools in your app or the tools library
- Click + New Tool
- Select tool type (Workflow, Code, or MCP)
- Configure name, description, and parameters
- Build the tool logic
- Test and deploy
Option 2: Import Existing
Reuse tools from the library or import from files.- Click Import Tool
- Upload a
.zipfile containing:flow_definition.json(required)app_definition.json(optional)env_variables.json(optional)
- Review and configure
- Deploy
Tool Scopes
Library Tools
Created in the Tools section, independent of any app.- Reusable across multiple apps
- Changes affect all linked apps
- Best for shared functionality
App-Scoped Tools
Created within a specific Agentic App.- Isolated to that app
- Changes don’t affect library versions
- Best for app-specific logic
Linking Tools to Agents
- Open your agent configuration
- Navigate to Tools
- Click + Add Tool
- Choose:
- Create new — Build app-specific tool
- Link existing — Connect library tool
- Import — Upload tool definition
- Configure tool access and permissions
Execution Modes
Synchronous
Tool executes immediately, agent waits for response.Asynchronous
Tool executes in background, agent continues or waits for callback.Deployment
After building a tool, deploy it to make it available.Sync Endpoint
Async Poll Endpoint
Async Push (Webhook)
Configure a webhook URL to receive results when ready.Security
API Keys
Tools are secured with API keys for external access.Role-Based Access
Control who can:- View tool configurations
- Edit tool logic
- Deploy tools
- Access execution logs
PII Protection
Tools inherit app-level PII protection:- Input scanning for sensitive patterns
- Automatic masking in logs
- Secure internal access when needed
Testing Tools
Before deployment, validate tool behavior:- Open the tool details page
- Click Test
- Provide sample input parameters
- Review execution results
- Check for errors and edge cases
Monitoring
Track tool performance with:- Execution history — Success/failure rates
- Response times — Latency metrics
- Token usage — For AI-powered tools
- Audit logs — Who changed what, when