Waterflai
  • Welcome to Waterflai
  • Getting Started
    • Concepts
    • Quickstart
  • Providers
    • Providers Overview
    • Providers setup
    • AI models
    • Choose the right models
  • Knowledge
    • Knowledge Overview
    • Knowledge connectors
    • Knowledge collections
  • Studio
    • Studio Overview
    • Studio Builders
      • Light Builder
      • Dream Builder
      • Workflow Builder
      • Flow components (nodes)
        • Input Node
        • Output Node
        • LLM model Node
        • Multimodal LLM Node
        • Dall-E 2 (image generation) Node
        • Dall-E 3 (image generation) Node
        • Sora video generation Node
        • Text-to-Speech (TTS) Node
        • Speech-to-Text (STT) Node
        • OCR Node
        • Agent Node
        • Reranker Node
        • Knowledge retrieval Node
        • Vector store insert Node
        • Vector store record delete Node
        • Gitbook loader
        • Notion Database Node
        • Figma Node
        • Webpage scraper Node
        • Sitemap Scraper Node
        • API Request Node
        • Document metadata extraction Node
        • Document metadata update Node
        • Character splitter Node
        • HTML splitter Node
        • Markdown Splitter
        • Calculator tool Node
        • Text as tool Node
        • Knowledge retrieval tool Node
        • Conditional Node
        • Iteration loop Node
      • Testing and Debugging
    • Publishing
    • Integration with API
    • Embedding in website
  • Analytics
    • Analytics Overview
    • Dashboards
    • Logs
  • Administration
    • Organization users
    • Workspace
    • Security and permissions
  • Troubleshooting
    • Support
Powered by GitBook
On this page
  • Overview
  • Configuration
  • Best Practices
  • Common Issues
  1. Studio
  2. Studio Builders
  3. Flow components (nodes)

Text as tool Node

Overview

The Text as Tool Node converts text content into a tool that can be used by agents. It's particularly useful for providing agents with static information, methodologies, or guidelines that can be referenced during task execution.

Usage cost: 0 credit

Configuration

Settings

  1. Tool Identity

    • Tool Name*: Unique identifier for the tool (no spaces)

    • Tool Description*: Explanation of the tool's purpose and usage

  2. Content Configuration

    • Tool Content*: The text content to be provided

    • Supports variables for dynamic content

    • Content is interpolated at runtime

Output Ports

  • text_as_tool (Tool): A structured tool object that:

    • Returns the configured text content

    • Can be used by agent nodes

    • Maintains consistent formatting

    • Supports optional input parameters

Best Practices

  1. Tool Naming

    • Use descriptive, unique names

    • Avoid spaces in names

    • Follow consistent naming convention

    • Keep names concise but clear

  2. Description Writing

    • Be specific about tool purpose

    • Include usage instructions

    • Define input expectations

    • Explain output format

  3. Content Management

    • Structure content logically

    • Use variables where appropriate

    • Keep content focused

    • Consider agent context

Common Issues

  • Duplicate tool names

  • Missing content variables

  • Unclear tool descriptions

  • Variable interpolation errors

PreviousCalculator tool NodeNextKnowledge retrieval tool Node

Last updated 3 months ago