feat: Implement Tool Node mode for n8n AI Agent compatibility #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ScreenRecorderProject24_1.mp4
Summary
Adds Tool Node support to the Firecrawl n8n integration, enabling seamless compatibility with n8n's AI Agent system while maintaining full backward compatibility with existing workflows.
Fixes firecrawl/firecrawl#2340
Changes
Core Implementation
toolSchemas.tsTechnical Details
Operations Supported in Tool Mode
Documentation
Testing Environment
docker-compose.yml
services: n8n: image: n8nio/n8n:latest container_name: n8n-clean-1 ports: - "5678:5678" restart: unless-stopped environment: - GENERIC_TIMEZONE=Europe/Lisbon - N8N_LOG_LEVEL=info - N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true - N8N_CUSTOM_EXTENSIONS=/home/tama/n8n-nodes-firecrawl-master/dist/nodes/Firecrawl volumes: - /home/tama/n8n-nodes-firecrawl-master/dist/nodes/Firecrawl:/home/tama/n8n-nodes-firecrawl-master/dist/nodes/Firecrawl