Dify 中,Agent
节点和 发现和调用 MCP 工具
节点都与工具(Tools)的使用相关,但它们的职责和实现方式有所不同。以下是它们的异同点分析:
相同点
- 工具调用能力
- 两者都支持调用外部工具(如 API、函数、插件等)来扩展模型的能力,完成特定任务(如搜索、计算、数据库查询等)。
- 增强模型功能
- 均用于弥补大模型(如 GPT)的局限性,例如实时信息获取、复杂计算或私有数据访问。
- 基于用户输入
- 都需要根据用户请求或上下文动态决定是否调用工具。
不同点
特性 | Agent 节点 | 发现和调用 MCP 工具 节点 |
---|---|---|
核心职责 | 自主决策工具调用,支持多步复杂任务,可以选择合适的方法执行 | 专注于工具的发现和单次调用,明确调用哪个方法 |
决策逻辑 | 由 Agent 自主规划(如 ReAct、AutoGPT)。 | 依赖预定义的规则或简单条件触发。 |
多工具协作 | 支持组合多个工具完成复杂目标。 | 通常针对单一工具调用。 |
适用场景 | 开放域任务(如"写报告并查资料")。 | 明确工具需求的场景(如"查询天气")。 |
灵活性 | 高,可动态调整流程。 | 较低,需预先配置工具链。 |
输出结果 | 可能包含多次工具调用的综合结果。 | 返回单次工具调用的原始结果。 |
技术实现差异
-
Agent 节点
-
基于强化学习或规则引擎实现多步推理(如 ReAct 框架)。
-
示例流程:
Thought: 需要先搜索最新数据 → 调用搜索工具 → 分析结果 → 调用计算工具 → 生成最终答案。
-
-
发现和调用 MCP 工具 节点
-
通过工具描述(如 OpenAPI 规范)匹配用户意图,直接调用对应工具。
-
示例流程:
检测到关键词"天气" → 触发天气查询工具 → 返回 API 结果。
-
选择建议
- 使用 Agent:当任务需要多步骤决策、工具组合或未知工具发现时(如"帮我规划旅行行程")。
- 使用 MCP 工具调用:当任务明确且工具已预先注册时(如"计算 3 的平方根")。
通过合理搭配两者,可以在 Dify 中实现从简单到复杂的自动化任务处理。
使用案例
Agent
powershell
app:
description: 地图服务
icon: 🤖
icon_background: '#FFEAD5'
mode: advanced-chat
name: LOCAL_调用远程sse服务-高德
use_icon_as_answer_icon: false
dependencies: []
kind: app
version: 0.3.0
workflow:
conversation_variables: []
environment_variables: []
features:
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
allowed_file_types:
- image
allowed_file_upload_methods:
- local_file
- remote_url
enabled: false
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 5
file_size_limit: 15
image_file_size_limit: 10
video_file_size_limit: 100
workflow_file_upload_limit: 10
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 3
opening_statement: ''
retriever_resource:
enabled: true
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
isInLoop: false
sourceType: start
targetType: agent
id: 1752110044166-source-1752110090739-target
source: '1752110044166'
sourceHandle: source
target: '1752110090739'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: agent
targetType: answer
id: 1752110090739-source-answer-target
source: '1752110090739'
sourceHandle: source
target: answer
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: 开始
type: start
variables: []
height: 53
id: '1752110044166'
position:
x: 80
y: 282
positionAbsolute:
x: 80
y: 282
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
answer: '{{#1752110090739.text#}}'
desc: ''
selected: false
title: 直接回复
type: answer
variables: []
height: 104
id: answer
position:
x: 680
y: 282
positionAbsolute:
x: 680
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
agent_parameters:
instruction:
type: constant
value: 你是一位智能语音助手,名字叫狗蛋。请按照以下规则对用户的问题做出专业的回复回复规则:1、回复内容需保持中立、客观,避免涉及敏感内容。2、过程中可以选择合适的mcp工具进行调用3、有数据支撑的情况下回复内容一定要详细4、回复内容使用中文,要适合语音播报
mcp_servers_config:
type: constant
value: "{\n\t\"amap-amap-sse\": {\n\t\t\"url\": \"https://mcp.amap.com/sse?key=你自己的高德apiKey"\
,\n\t\t\"headers\": {},\n\t\t\"timeout\": 60,\n\t\t\"sse_read_timeout\"\
: 300\n\t}\n}\n"
model:
type: constant
value:
completion_params: {}
mode: chat
model: Qwen/Qwen3-235B-A22B
model_type: llm
provider: langgenius/siliconflow/siliconflow
type: model-selector
query:
type: constant
value: '{{#sys.query#}}'
agent_strategy_label: ReAct (支持 MCP 工具)
agent_strategy_name: mcp_sse_ReAct
agent_strategy_provider_name: junjiem/mcp_see_agent/mcp_see_agent
desc: ''
output_schema: null
plugin_unique_identifier: junjiem/mcp_see_agent:0.2.2@2b54607cf4d6a03b39cdae1425af2d8bafd4dd87f3eef6dc3eaaa945c71c2231
selected: false
title: Agent
type: agent
height: 145
id: '1752110090739'
position:
x: 384
y: 282
positionAbsolute:
x: 384
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
viewport:
x: 142.45875015935576
y: 59.99388459156238
zoom: 0.6597539553864471
发现和调用mcp工具
yaml
app:
description: 本地工具调用
icon: 🤖
icon_background: '#FFEAD5'
mode: workflow
name: LOCAL_本地开发的工具调用
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: junjiem/mcp_sse:0.2.1@53cc613667fcf91dd7208dd5f6d2c8df3c7ff0af8b79e8f3c0a430f1b39bda4c
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/siliconflow:0.0.17@88c62094bb40b57a179a051bd6bb2b3a80bac535a2e8bb97047193ac363eb2e6
kind: app
version: 0.3.0
workflow:
conversation_variables: []
environment_variables: []
features:
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
allowed_file_types:
- image
allowed_file_upload_methods:
- local_file
- remote_url
enabled: false
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 5
file_size_limit: 15
image_file_size_limit: 10
video_file_size_limit: 100
workflow_file_upload_limit: 10
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 3
opening_statement: ''
retriever_resource:
enabled: true
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
isInLoop: false
sourceType: llm
targetType: tool
id: 1751941832057-source-1752030328612-target
selected: false
source: '1751941832057'
sourceHandle: source
target: '1752030328612'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: start
targetType: tool
id: 1750823515671-source-1752031112378-target
selected: false
source: '1750823515671'
sourceHandle: source
target: '1752031112378'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: tool
targetType: llm
id: 1752031112378-source-1751941832057-target
selected: false
source: '1752031112378'
sourceHandle: source
target: '1751941832057'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: tool
targetType: tool
id: 1752030328612-source-1752116713936-target
selected: false
source: '1752030328612'
sourceHandle: source
target: '1752116713936'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: tool
targetType: end
id: 1752116713936-source-1751940466447-target
selected: false
source: '1752116713936'
sourceHandle: source
target: '1751940466447'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: tool
targetType: tool
id: 1752030328612-source-1752202335885-target
source: '1752030328612'
sourceHandle: source
target: '1752202335885'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: tool
targetType: end
id: 1752202335885-source-1751940466447-target
source: '1752202335885'
sourceHandle: source
target: '1751940466447'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: 开始
type: start
variables:
- hide: true
label: 输入数字
max_length: 48
options: []
required: false
type: text-input
variable: customerNum
- label: 入参
max_length: 48
options: []
required: true
type: text-input
variable: input
height: 115
id: '1750823515671'
position:
x: 107.87005885030601
y: -160.60738755968273
positionAbsolute:
x: 107.87005885030601
y: -160.60738755968273
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: 输出
outputs:
- value_selector:
- '1752116713936'
- text
variable: result
- value_selector:
- '1752202335885'
- text
variable: result2
- value_selector:
- '1752031112378'
- text
variable: time
selected: true
title: 结束 2
type: end
height: 169
id: '1751940466447'
position:
x: 1084.0498555305248
y: 33.33627555363347
positionAbsolute:
x: 1084.0498555305248
y: 33.33627555363347
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
model:
completion_params: {}
mode: chat
name: Qwen/Qwen3-235B-A22B
provider: langgenius/siliconflow/siliconflow
prompt_template:
- id: d90b81c0-55fa-40b6-a60d-278a089e3737
role: system
text: 调用mcp工具,传入参数{{#1750823515671.customerNum#}}
selected: false
structured_output_enabled: true
title: LLM
type: llm
variables: []
vision:
enabled: false
height: 89
id: '1751941832057'
position:
x: 84.9835844682795
y: 207.1418465087409
positionAbsolute:
x: 84.9835844682795
y: 207.1418465087409
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
is_team_authorization: true
output_schema: null
paramSchemas:
- auto_generate: null
default: 1
form: form
human_description:
en_US: Fetch and call the preset MCP Resources as Tools.
ja_JP: Fetch and call the preset MCP Resources as Tools.
pt_BR: Fetch and call the preset MCP Resources as Tools.
zh_Hans: 将预设的 MCP Resources 作为 Tools 返回和调用。
label:
en_US: MCP Resources as Tools
ja_JP: MCP Resources as Tools
pt_BR: MCP Resources as Tools
zh_Hans: MCP 资源作为工具
llm_description: ''
max: null
min: null
name: resources_as_tools
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: boolean
- auto_generate: null
default: 1
form: form
human_description:
en_US: Fetch and call the preset MCP Prompts as Tools.
ja_JP: Fetch and call the preset MCP Prompts as Tools.
pt_BR: Fetch and call the preset MCP Prompts as Tools.
zh_Hans: 将预设的 MCP Prompts 作为 Tools 返回和调用。
label:
en_US: MCP Prompts as Tools
ja_JP: MCP Prompts as Tools
pt_BR: MCP Prompts as Tools
zh_Hans: MCP 提示词作为工具
llm_description: ''
max: null
min: null
name: prompts_as_tools
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: boolean
- auto_generate: null
default: null
form: llm
human_description:
en_US: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
ja_JP: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
pt_BR: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
zh_Hans: MCP服务配置,支持多个MCP服务。 (选填,填写后将覆盖授权时填写的MCP服务配置。)
label:
en_US: MCP Servers config
ja_JP: MCP Servers config
pt_BR: MCP Servers config
zh_Hans: MCP 服务配置
llm_description: ''
max: null
min: null
name: servers_config
options: []
placeholder: null
precision: null
required: false
scope: null
template: null
type: string
params:
prompts_as_tools: ''
resources_as_tools: ''
servers_config: ''
provider_id: junjiem/mcp_sse/mcp_sse
provider_name: junjiem/mcp_sse/mcp_sse
provider_type: builtin
selected: false
title: 获取 MCP 工具列表
tool_configurations:
prompts_as_tools: 1
resources_as_tools: 1
tool_description: 获取 MCP 服务端的工具列表。
tool_label: 获取 MCP 工具列表
tool_name: mcp_sse_list_tools
tool_parameters:
servers_config:
type: mixed
value: "{\n\t\"amap-amap-sse\": {\n\t\t\"url\": \"http://192.168.1.1:8080/sse\"\
,\n\t\t\"headers\": {},\n\t\t\"timeout\": 60,\n\t\t\"sse_read_timeout\"\
: 300\n\t}\n}"
type: tool
height: 115
id: '1752030328612'
position:
x: 421.56642621892485
y: 55.146514722097436
positionAbsolute:
x: 421.56642621892485
y: 55.146514722097436
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
is_team_authorization: true
output_schema: null
paramSchemas:
- auto_generate: null
default: '%Y-%m-%d %H:%M:%S'
form: form
human_description:
en_US: Time format in strftime standard.
ja_JP: Time format in strftime standard.
pt_BR: Time format in strftime standard.
zh_Hans: strftime 标准的时间格式。
label:
en_US: Format
ja_JP: Format
pt_BR: Format
zh_Hans: 格式
llm_description: null
max: null
min: null
name: format
options: []
placeholder: null
precision: null
required: false
scope: null
template: null
type: string
- auto_generate: null
default: UTC
form: form
human_description:
en_US: Timezone
ja_JP: Timezone
pt_BR: Timezone
zh_Hans: 时区
label:
en_US: Timezone
ja_JP: Timezone
pt_BR: Timezone
zh_Hans: 时区
llm_description: null
max: null
min: null
name: timezone
options:
- label:
en_US: UTC
ja_JP: UTC
pt_BR: UTC
zh_Hans: UTC
value: UTC
- label:
en_US: America/New_York
ja_JP: America/New_York
pt_BR: America/New_York
zh_Hans: 美洲/纽约
value: America/New_York
- label:
en_US: America/Los_Angeles
ja_JP: America/Los_Angeles
pt_BR: America/Los_Angeles
zh_Hans: 美洲/洛杉矶
value: America/Los_Angeles
- label:
en_US: America/Chicago
ja_JP: America/Chicago
pt_BR: America/Chicago
zh_Hans: 美洲/芝加哥
value: America/Chicago
- label:
en_US: America/Sao_Paulo
ja_JP: America/Sao_Paulo
pt_BR: América/São Paulo
zh_Hans: 美洲/圣保罗
value: America/Sao_Paulo
- label:
en_US: Asia/Shanghai
ja_JP: Asia/Shanghai
pt_BR: Asia/Shanghai
zh_Hans: 亚洲/上海
value: Asia/Shanghai
- label:
en_US: Asia/Ho_Chi_Minh
ja_JP: Asia/Ho_Chi_Minh
pt_BR: Ásia/Ho Chi Minh
zh_Hans: 亚洲/胡志明市
value: Asia/Ho_Chi_Minh
- label:
en_US: Asia/Tokyo
ja_JP: Asia/Tokyo
pt_BR: Asia/Tokyo
zh_Hans: 亚洲/东京
value: Asia/Tokyo
- label:
en_US: Asia/Dubai
ja_JP: Asia/Dubai
pt_BR: Asia/Dubai
zh_Hans: 亚洲/迪拜
value: Asia/Dubai
- label:
en_US: Asia/Kolkata
ja_JP: Asia/Kolkata
pt_BR: Asia/Kolkata
zh_Hans: 亚洲/加尔各答
value: Asia/Kolkata
- label:
en_US: Asia/Seoul
ja_JP: Asia/Seoul
pt_BR: Asia/Seoul
zh_Hans: 亚洲/首尔
value: Asia/Seoul
- label:
en_US: Asia/Singapore
ja_JP: Asia/Singapore
pt_BR: Asia/Singapore
zh_Hans: 亚洲/新加坡
value: Asia/Singapore
- label:
en_US: Europe/London
ja_JP: Europe/London
pt_BR: Europe/London
zh_Hans: 欧洲/伦敦
value: Europe/London
- label:
en_US: Europe/Berlin
ja_JP: Europe/Berlin
pt_BR: Europe/Berlin
zh_Hans: 欧洲/柏林
value: Europe/Berlin
- label:
en_US: Europe/Moscow
ja_JP: Europe/Moscow
pt_BR: Europe/Moscow
zh_Hans: 欧洲/莫斯科
value: Europe/Moscow
- label:
en_US: Australia/Sydney
ja_JP: Australia/Sydney
pt_BR: Australia/Sydney
zh_Hans: 澳大利亚/悉尼
value: Australia/Sydney
- label:
en_US: Pacific/Auckland
ja_JP: Pacific/Auckland
pt_BR: Pacific/Auckland
zh_Hans: 太平洋/奥克兰
value: Pacific/Auckland
- label:
en_US: Africa/Cairo
ja_JP: Africa/Cairo
pt_BR: Africa/Cairo
zh_Hans: 非洲/开罗
value: Africa/Cairo
placeholder: null
precision: null
required: false
scope: null
template: null
type: select
params:
format: ''
timezone: ''
provider_id: time
provider_name: time
provider_type: builtin
selected: false
title: 获取当前时间
tool_configurations:
format: '%Y-%m-%d %H:%M:%S'
timezone: UTC
tool_description: 一个用于获取当前时间的工具。
tool_label: 获取当前时间
tool_name: current_time
tool_parameters: {}
type: tool
height: 115
id: '1752031112378'
position:
x: 95.92967124304528
y: 0.6129652116348154
positionAbsolute:
x: 95.92967124304528
y: 0.6129652116348154
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: tool1
is_team_authorization: true
output_schema: null
paramSchemas:
- auto_generate: null
default: null
form: llm
human_description:
en_US: Name of the tool to execute.
ja_JP: Name of the tool to execute.
pt_BR: Name of the tool to execute.
zh_Hans: 要执行的工具的名称。
label:
en_US: Tool Name
ja_JP: Tool Name
pt_BR: Tool Name
zh_Hans: 工具名称
llm_description: Name of the MCP tool to execute.
max: null
min: null
name: tool_name
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: string
- auto_generate: null
default: null
form: llm
human_description:
en_US: Tool arguments (JSON string in the python dict[str, Any] format).
ja_JP: Tool arguments (JSON string in the python dict[str, Any] format).
pt_BR: Tool arguments (JSON string in the python dict[str, Any] format).
zh_Hans: 工具的参数。
label:
en_US: Arguments
ja_JP: Arguments
pt_BR: Arguments
zh_Hans: 参数
llm_description: MCP Tool arguments (JSON string in the python dict[str,
Any] format).
max: null
min: null
name: arguments
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: string
- auto_generate: null
default: 1
form: form
human_description:
en_US: Fetch and call the preset MCP Resources as Tools.
ja_JP: Fetch and call the preset MCP Resources as Tools.
pt_BR: Fetch and call the preset MCP Resources as Tools.
zh_Hans: 将预设的 MCP Resources 作为 Tools 返回和调用。
label:
en_US: MCP Resources as Tools
ja_JP: MCP Resources as Tools
pt_BR: MCP Resources as Tools
zh_Hans: MCP 资源作为工具
llm_description: ''
max: null
min: null
name: resources_as_tools
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: boolean
- auto_generate: null
default: 1
form: form
human_description:
en_US: Fetch and call the preset MCP Prompts as Tools.
ja_JP: Fetch and call the preset MCP Prompts as Tools.
pt_BR: Fetch and call the preset MCP Prompts as Tools.
zh_Hans: 将预设的 MCP Prompts 作为 Tools 返回和调用。
label:
en_US: MCP Prompts as Tools
ja_JP: MCP Prompts as Tools
pt_BR: MCP Prompts as Tools
zh_Hans: MCP 提示词作为工具
llm_description: ''
max: null
min: null
name: prompts_as_tools
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: boolean
- auto_generate: null
default: null
form: llm
human_description:
en_US: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
ja_JP: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
pt_BR: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
zh_Hans: MCP服务配置,支持多个MCP服务。 (选填,填写后将覆盖授权时填写的MCP服务配置。)
label:
en_US: MCP Servers config
ja_JP: MCP Servers config
pt_BR: MCP Servers config
zh_Hans: MCP 服务配置
llm_description: ''
max: null
min: null
name: servers_config
options: []
placeholder: null
precision: null
required: false
scope: null
template: null
type: string
params:
arguments: ''
prompts_as_tools: ''
resources_as_tools: ''
servers_config: ''
tool_name: ''
provider_id: junjiem/mcp_sse/mcp_sse
provider_name: junjiem/mcp_sse/mcp_sse
provider_type: builtin
selected: false
title: 调用 MCP 工具
tool_configurations:
prompts_as_tools: 1
resources_as_tools: 1
tool_description: 调用 MCP 服务端工具。
tool_label: 调用 MCP 工具
tool_name: mcp_sse_call_tool
tool_parameters:
arguments:
type: mixed
value: '{{#1750823515671.customerNum#}}'
servers_config:
type: mixed
value: "{\n\t\"amap-amap-sse\": {\n\t\t\"url\": \"http://192.168.1.1:8080/sse\"\
,\n\t\t\"headers\": {},\n\t\t\"timeout\": 60,\n\t\t\"sse_read_timeout\"\
: 300\n\t}\n}"
tool_name:
type: mixed
value: getProjectlnfoByContractNum
type: tool
height: 143
id: '1752116713936'
position:
x: 733.685400251856
y: -84.6899893417434
positionAbsolute:
x: 733.685400251856
y: -84.6899893417434
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: tool2
is_team_authorization: true
output_schema: null
paramSchemas:
- auto_generate: null
default: null
form: llm
human_description:
en_US: Name of the tool to execute.
ja_JP: Name of the tool to execute.
pt_BR: Name of the tool to execute.
zh_Hans: 要执行的工具的名称。
label:
en_US: Tool Name
ja_JP: Tool Name
pt_BR: Tool Name
zh_Hans: 工具名称
llm_description: Name of the MCP tool to execute.
max: null
min: null
name: tool_name
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: string
- auto_generate: null
default: null
form: llm
human_description:
en_US: Tool arguments (JSON string in the python dict[str, Any] format).
ja_JP: Tool arguments (JSON string in the python dict[str, Any] format).
pt_BR: Tool arguments (JSON string in the python dict[str, Any] format).
zh_Hans: 工具的参数。
label:
en_US: Arguments
ja_JP: Arguments
pt_BR: Arguments
zh_Hans: 参数
llm_description: MCP Tool arguments (JSON string in the python dict[str,
Any] format).
max: null
min: null
name: arguments
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: string
- auto_generate: null
default: 1
form: form
human_description:
en_US: Fetch and call the preset MCP Resources as Tools.
ja_JP: Fetch and call the preset MCP Resources as Tools.
pt_BR: Fetch and call the preset MCP Resources as Tools.
zh_Hans: 将预设的 MCP Resources 作为 Tools 返回和调用。
label:
en_US: MCP Resources as Tools
ja_JP: MCP Resources as Tools
pt_BR: MCP Resources as Tools
zh_Hans: MCP 资源作为工具
llm_description: ''
max: null
min: null
name: resources_as_tools
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: boolean
- auto_generate: null
default: 1
form: form
human_description:
en_US: Fetch and call the preset MCP Prompts as Tools.
ja_JP: Fetch and call the preset MCP Prompts as Tools.
pt_BR: Fetch and call the preset MCP Prompts as Tools.
zh_Hans: 将预设的 MCP Prompts 作为 Tools 返回和调用。
label:
en_US: MCP Prompts as Tools
ja_JP: MCP Prompts as Tools
pt_BR: MCP Prompts as Tools
zh_Hans: MCP 提示词作为工具
llm_description: ''
max: null
min: null
name: prompts_as_tools
options: []
placeholder: null
precision: null
required: true
scope: null
template: null
type: boolean
- auto_generate: null
default: null
form: llm
human_description:
en_US: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
ja_JP: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
pt_BR: MCP Servers config, support multiple MCP services. (Optional, Filling
in this field will overwrite the MCP Servers config entered during authorization.)
zh_Hans: MCP服务配置,支持多个MCP服务。 (选填,填写后将覆盖授权时填写的MCP服务配置。)
label:
en_US: MCP Servers config
ja_JP: MCP Servers config
pt_BR: MCP Servers config
zh_Hans: MCP 服务配置
llm_description: ''
max: null
min: null
name: servers_config
options: []
placeholder: null
precision: null
required: false
scope: null
template: null
type: string
params:
arguments: ''
prompts_as_tools: ''
resources_as_tools: ''
servers_config: ''
tool_name: ''
provider_id: junjiem/mcp_sse/mcp_sse
provider_name: junjiem/mcp_sse/mcp_sse
provider_type: builtin
selected: false
title: 调用 MCP 工具
tool_configurations:
prompts_as_tools: 1
resources_as_tools: 1
tool_description: 调用 MCP 服务端工具。
tool_label: 调用 MCP 工具
tool_name: mcp_sse_call_tool
tool_parameters:
arguments:
type: mixed
value: '{{#1750823515671.input#}}'
servers_config:
type: mixed
value: "{\n\t\"amap-amap-sse\": {\n\t\t\"url\": \"http://192.168.1.1:8080/sse\"\
,\n\t\t\"headers\": {},\n\t\t\"timeout\": 60,\n\t\t\"sse_read_timeout\"\
: 300\n\t}\n}"
tool_name:
type: mixed
value: toUpperCase
type: tool
height: 143
id: '1752202335885'
position:
x: 744.9991092182643
y: 168.3049641143287
positionAbsolute:
x: 744.9991092182643
y: 168.3049641143287
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
viewport:
x: -117.3918455737238
y: 146.6148746230181
zoom: 0.9330329529887473