-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path12306mcp火车票信息查询.yml
More file actions
274 lines (274 loc) · 7.88 KB
/
Copy path12306mcp火车票信息查询.yml
File metadata and controls
274 lines (274 loc) · 7.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
app:
description: ''
icon: laughing
icon_background: '#E4FBCC'
mode: advanced-chat
name: 53-dify案例分享-12306mcp火车票信息查询-chatflow
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: 500
batch_count_limit: 5
file_size_limit: 15
image_file_size_limit: 100
video_file_size_limit: 500
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: 1747557285270-source-1747557291841-target
source: '1747557285270'
sourceHandle: source
target: '1747557291841'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: agent
targetType: answer
id: 1747557291841-source-answer-target
source: '1747557291841'
sourceHandle: source
target: answer
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: 开始
type: start
variables: []
height: 52
id: '1747557285270'
position:
x: 80
y: 282
positionAbsolute:
x: 80
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
answer: '{{#1747557291841.text#}}'
desc: ''
selected: false
title: 直接回复
type: answer
variables: []
height: 103
id: answer
position:
x: 683
y: 282
positionAbsolute:
x: 683
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
agent_parameters:
instruction:
type: constant
value: 请使用12306-mcp工具实现{{#sys.query#}}
mcp_server:
type: constant
value: http://14.103.204.132:8900/sse/bba57da5-5073-4fce-9b99-13f985d15f64
model:
type: constant
value:
completion_params: {}
mode: chat
model: deepseek-V3
model_type: llm
provider: langgenius/volcengine_maas/volcengine_maas
type: model-selector
query:
type: constant
value: '{{#sys.query#}}'
tools:
type: constant
value:
- enabled: true
extra:
description: 获取 MCP 服务端的工具列表。
parameters: {}
provider_name: junjiem/mcp_sse/mcp_sse
schemas: []
settings: {}
tool_description: 获取 MCP 服务端的工具列表。
tool_label: 获取 MCP 工具列表
tool_name: mcp_sse_list_tools
type: builtin
- enabled: true
extra:
description: 调用 MCP 服务端工具。
parameters:
arguments:
auto: 1
value: null
tool_name:
auto: 1
value: null
provider_name: junjiem/mcp_sse/mcp_sse
schemas:
- 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 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: 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
settings: {}
tool_description: 调用 MCP 服务端工具。
tool_label: 调用 MCP 工具
tool_name: mcp_sse_call_tool
type: builtin
agent_strategy_label: MCP FunctionCalling
agent_strategy_name: function_calling
agent_strategy_provider_name: hjlarry/agent/mcp_agent
desc: ''
output_schema: null
plugin_unique_identifier: hjlarry/agent:0.0.1@f42a5a80b1c77fd0655c755b70ad08da47ceb1acc3638cf13a0eb9ed42b3a128
selected: false
title: Agent
type: agent
height: 196
id: '1747557291841'
position:
x: 383.2651327538622
y: 282
positionAbsolute:
x: 383.2651327538622
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
author: ' 周辉'
desc: ''
height: 129
selected: false
showAuthor: true
text: '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"本工作流主要功能是基于AIAgent实现一个12306火车票查询的一个mcp","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}'
theme: blue
title: ''
type: ''
width: 374
height: 129
id: '1747967492753'
position:
x: -13.038544238476334
y: 371.3469358725145
positionAbsolute:
x: -13.038544238476334
y: 371.3469358725145
selected: true
sourcePosition: right
targetPosition: left
type: custom-note
width: 374
viewport:
x: 60.74444485971401
y: -162.32346505815474
zoom: 1.360790000174377