Tools are currently in private alpha and subject to change. If you would like to use them, please reach out to re-factor Support.
Background
Tools are a fundamental building block in re-factor that enable LLMs to interact with external systems and perform real-world actions. Tools enable LLMs to go beyond generating text and perform real work on your behalf.Tool Examples
A tool is an interface that defines how an LLM can interact with an external system or resource. Tools can, subject to your permissions, provide a means for your LLM to:- Query databases or APIs
- Read from or write to files
- Use a browser or sandboxed computer
- Execute code or scripts
Tool Registry
The Tool Registry is a central repository where all tools you want to expose to your LLMs can be registered and managed. Each tool in the registry includes:- Name and description
- Input/output schema
- Authentication requirements
- Usage permissions
- Performance metrics
Tool Designer
The Tool Designer provides a visual interface for creating and modifying tools. Key features include:- Visual schema builder
- Authentication configuration
- Permission management
- Testing interface
- Version control
Using Tools
Tools can be used in several ways within re-factor:- Direct Invocation: Call tools directly from your code using our SDK
- Flow Integration: Include tools as steps in automated workflows
- Agent Access: Give agents access to tool sets for autonomous operation
Best Practices
When working with tools:- Define clear input/output schemas
- Include descriptive documentation
- Implement proper error handling
- Monitor performance and usage
- Regularly test and validate
- Control access permissions
Examples
Here are some common tool patterns:Next Steps
- Explore the Tool Registry to see available tools
- Learn how to create custom tools
- See how tools work with Flows and Agents

