Overview
System tools are automatically available to every agent and don’t require custom configuration. These tools help agents orchestrate workflows, retrieve information, and provide better user experiences.Available System Tools
RAG Tool
Retrieve information from datasources
Finish Tool
Complete current agent task
End Flow Tool
Terminate the entire workflow
Flow Insight Tool
Provide status updates to users
RAG Tool
Purpose
Retrieves relevant information from datasources attached to the agent block.Usage
Simply mention in your agent prompt when the tool should be called:Agent Prompt Example
Make sure to attach your datasources to the agent block before referencing the RAG Tool.
Finish Tool
Purpose
Signals that the current agent has completed its task and no further action is needed from this agent block.Usage
Instruct the agent to call this tool when its specific objective is complete:Agent Prompt Example
When to Use
- Agent has gathered all required information
- Task objective has been accomplished
- Ready to pass control to the next agent or step
End Flow Tool
Purpose
Terminates the entire workflow immediately, regardless of remaining steps.Usage
Use this tool when the entire flow should stop:Agent Prompt Example
When to Use
- User requests to cancel the process
- Critical error that prevents continuation
- Flow objective has been fully completed
- User wants to exit the conversation
Flow Insight Tool
Purpose
Provides real-time status updates to users during tool execution, making conversations feel more natural and interactive.Usage
The agent automatically uses this tool to inform users when processing is happening:Agent Prompt Example
Example Responses
Benefits
- Reduces user anxiety during processing time
- Makes the conversation feel more human
- Provides transparency about what’s happening
- Improves overall user experience
Best Practices
Explicit Tool Calling Instructions
Explicit Tool Calling Instructions
If your agent is calling system tools at the wrong time:✅ Do: Be explicit about when to call each tool❌ Don’t: Leave tool calling conditions ambiguous
Preventing Premature Exits
Preventing Premature Exits
If agents are ending flows too early:
- Explicitly list all required steps before calling FinishTool/EndFlowTool
- Add validation checkpoints in your prompt
- Use conditional statements for tool calling
Example
RAG Tool Optimization
RAG Tool Optimization
- Attach only relevant datasources to each agent
- Provide clear instructions on when to search
- Test retrieval quality with sample queries
- Update datasources regularly for accuracy
Flow Insight Messages
Flow Insight Messages
Keep insight messages:
- Brief and conversational
- Relevant to the action being performed
- Professional but friendly
- Transparent about what’s happening
Troubleshooting
Agent ends flow prematurely
Add explicit conditions in your prompt for when to call FinishTool or EndFlowTool. List all required steps that must be completed first.
RAG Tool not finding information
- Verify datasources are properly attached to the agent block
- Check that datasources contain the relevant information
- Review the quality and format of your datasource content
Flow Insight messages not appearing
- Ensure the agent prompt mentions using FlowInsightTool
- Verify the conversational flow is configured correctly
- Check that the tool is being called before long-running operations