1.使用When chat message received
2.使用AI Agent
在AI agent中option加入System Message
You are a helpful assistant
- Use firecrawl for web search
Make sure to listTools first then
executeTool when ready
或者
你是一位得力助手
- 使用 Firecrawl 進行網頁搜索
確保先列出工具,然後
準備就緒時執行工具
3.連結model(Google Gemini Chat Model)
host: https://generativelanguage.googleapis.com
api key
選Model
4.使用tool
n8n mcp 使用 Community nodes安裝才有STDIO
在n8n介面左下角人員旁3個點...,點選settings--community--nodes--install--Browse去選要n8n-nodes-mcp,選同意安裝
n8n mcp必須有2個
1.list
選用firecrawl網路搜尋
Credential to connect with
Command : npx
Arguments : -y firecrawl-mcp
Environments : FIRECRAWL_API_KEY=fc-YOUR_API_KEY
2.執行工具
n8n mcp client
Operation
Execute Tool
Tool Name:{{ $fromAI ("tool", "the selected tool to use")}}
Tool Parameters:選右邊星星的符號:Let the model define this parameter
沒有留言:
張貼留言