Tool Node Deprecation and Migration Guide¶
Overview¶
The Tool node has been deprecated as of version 2.0.1 and is no longer available for creating new pipelines. Starting with version 2.0.0 B2, you can no longer add new Tool nodes to your pipelines, although existing Tool nodes will continue to function for backward compatibility.
This guide will help you migrate your existing pipelines from the deprecated Tool node to the Toolkit node.
Deprecation Timeline
- Version 2.0.0 B2: Creation of new Tool nodes disabled
- Version 2.0.1: Tool node officially deprecated
- Future versions: Tool node may be removed entirely
Why Was the Tool Node Deprecated?¶
The Tool node has been replaced by the more capable Toolkit node, which provides:
- Broader functionality: Support for all toolkit types and capabilities
- Enhanced filtering: Better control over which tools are available
- Structured outputs: Built-in support for structured output handling
- Clearer purpose: More intuitive naming and functionality
Migration Path¶
There is no automatic migration for Tool nodes. You must manually replace existing Tool nodes with Toolkit nodes in your pipelines.
What You Need to Know¶
- Manual migration required: Each Tool node must be replaced manually
- Configuration transfer: You'll need to reconfigure toolkit selections and settings
- No data loss: Your existing pipelines with Tool nodes will continue to work
- Future-proofing: Migrating now ensures compatibility with future releases
Step-by-Step Migration: Tool Node to Toolkit Node¶
This guide walks you through migrating a Tool node to a Toolkit node using a Confluence toolkit as a practical example.
Step 1: Identify Tool Nodes in Your Pipeline¶
- Open your pipeline in the Flow Editor
- Look for nodes labeled as "Tool" (they may be marked as deprecated)
- Note the toolkit and configuration for each Tool node
Finding Tool Nodes
Tool nodes are visually similar to Toolkit nodes but are marked as deprecated. Check your pipeline YAML or the node properties panel to confirm the node type.
Example: Tool Node
Your original pipeline has a Tool node with this configuration:
state:
input:
type: str
messages:
type: list
page_content:
type: str
page_id:
type: str
value: ''
entry_point: read_confluence_page
nodes:
- id: read_confluence_page
input:
- page_id
output:
- page_content
structured_output: false
task: Read Confluence page with id={page_id}
tool: read_page_by_id
toolkit_name: Confluence
transition: END
type: tool
Visual Setup:
- Node Type: Tool (deprecated)
- Toolkit Selected: Confluence
- Tool: read_page_by_id
- Task: "Read Confluence page with id={page_id}" (Tool node specific field)
- Inputs: page_id
- Outputs: page_content
Step 2: Add a Toolkit Node¶
- Click + Add Node in the Flow Editor
- Select Toolkit from the available node types
- Place the new Toolkit node near the Tool node you're replacing
Example:
Add a new Toolkit node next to your existing read_confluence_page node in the Flow Editor.
Step 3: Configure the Toolkit Node¶
-
Select the toolkit:
- Open the Toolkit node settings
- Choose the same toolkit that was configured in your Tool node
- The toolkit filter automatically excludes application-type tools
-
Set up input mappings:
- Transfer the same input mappings from your Tool node
- Ensure variable names and sources match exactly
-
Set up structured output (if needed):
- The Toolkit node includes structured output support
- Configure output schema if your workflow requires structured data
Key Differences in Toolkit Node
- Task field removed: The Toolkit node doesn't have a
taskfield - Tool field kept: The
toolfield is explicitly specified (e.g.,read_page_by_id) - Input mapping added: The Toolkit node uses
input_mappingto configure tool parameters:page_id: Can usefstringtype to format the page ID (e.g.,'page id:{page_id}')skip_images: Boolean flag to skip image processing (set tofalseto include images)- Each mapping has a
type(fixed,fstring,from_state, etc.) and avalue
Step 4: Reconnect Edges¶
-
Disconnect the Tool node:
- Remove incoming edges to the Tool node
- Remove outgoing edges from the Tool node
-
Connect the Toolkit node:
- Connect the same incoming edges to the Toolkit node
- Connect the same outgoing edges from the Toolkit node
- Verify the data flow matches your original pipeline
Step 5: Update Variable Mappings¶
-
Check input mappings:
- Verify that variables passed to the Tool node are now mapped to the Toolkit node
- Update any variable references if node IDs have changed
-
Check output mappings:
- Update any downstream nodes that reference the Tool node's output
- Change references to point to the Toolkit node's output instead
Step 6: Remove the Old Tool Node¶
- Select the deprecated Tool node
- Delete the node from your pipeline
- Verify that no broken edges or references remain
Example: Configure Confluence Toolkit Node
Select "Confluence" from the toolkit dropdown and set up the configuration:
state:
page_id:
type: str
value: ''
page_content:
type: str
messages:
type: list
entry_point: read_confluence_page
nodes:
- id: read_confluence_page
type: toolkit
tool: read_page_by_id
toolkit_name: Confluence
input:
- page_id
input_mapping:
page_id:
type: fstring
value: 'page id:{page_id}'
skip_images:
type: fixed
value: false
output:
- page_content
structured_output: false
transition: END
Visual Setup:
- Node Type: Toolkit (current)
- Toolkit Selected: Confluence (same toolkit)
- Tool: read_page_by_id (now explicitly specified)
- Inputs: page_id (same as Tool node)
- Input Mapping: Maps page_id using fstring format and sets skip_images to false
- Outputs: page_content (same as Tool node)
Step 7: Test Your Pipeline¶
- Save your changes
- Run the pipeline to ensure the Toolkit node functions as expected
- Verify outputs match the behavior of the original Tool node
- Check error handling and edge cases
Example:
Run the pipeline and verify that:
- The Confluence page is retrieved successfully using the
read_page_by_idtool - The page content for page ID
123456is correctly returned - The output in
page_contentcontains the complete page content - Downstream nodes receive the expected output
Migration Summary¶
What Stays the Same:
- ✔️ Toolkit selection
- ✔️ Input/output configuration
- ✔️ Functionality and behavior
- ✔️ Structured output setting
What Changes:
- ✘ Node type (tool → toolkit)
- ✘ Node ID (read_confluence_page remains the same)
- ✘ Task field removed (Toolkit node doesn't have this field)
- ✔️ Tool field kept
Troubleshooting¶
Toolkit Not Showing in Dropdown¶
Problem: The toolkit you were using in the Tool node doesn't appear in the Toolkit node.
Solution:
- Verify the toolkit type is not an application-type tool
- Check that the toolkit still exists in your workspace
Pipeline Execution Fails After Migration¶
Problem: Pipeline runs successfully with Tool node but fails with Toolkit node.
Solution:
- Verify all variable mappings are correctly updated
- Check that input/output connections match the original configuration
- Ensure the toolkit name and configuration are identical
- Review any structured output schemas that may need adjustment
Output Format Changed¶
Problem: The output format from the Toolkit node differs from the Tool node.
Solution:
- Check if structured output is enabled in the Toolkit node
- Review the toolkit's output schema configuration
- Adjust downstream nodes to handle the new output format
- Consider using the structured output feature for better data handling
Input Mapping Configuration Issues¶
Problem: Errors related to input_mapping configuration or variable types.
Solution:
-
Understand mapping types: The Toolkit node uses different type values in
input_mapping:Fixed: Static value that doesn't change (e.g.,value: falsefor boolean flags)F-String: Format string with variable substitution (e.g.,value: 'page id:{page_id}')Variable: Reference a variable from the pipeline state (e.g.,value: 'page_id')
-
Check variable syntax: Ensure variables use correct syntax:
- In
F-Stringtype:'text {variable_name}'(curly braces for substitution) - In
Variabletype:'{variable_name}'(reference state variable)
- In
-
Verify mapping structure: Each input_mapping entry needs both
typeandvaluefields - Match tool requirements: Check the tool's documentation for required parameters and their expected formats
Additional Resources
- YAML Configuration - Complete YAML syntax and structure
- Pipeline States - Working with state variables
- Pipeline Overview - Understanding pipeline concepts
- Nodes and Connectors - Node types and connections
- Flow Editor Guide - Visual pipeline editing
- Execution Nodes - Toolkit and other execution nodes

