# 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
