-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathtool.ts
More file actions
99 lines (98 loc) · 2.76 KB
/
tool.ts
File metadata and controls
99 lines (98 loc) · 2.76 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
export default {
title: 'Tool',
all: 'All',
createTool: 'Create Tool',
editTool: 'Edit Tool',
createMcpTool: 'Create MCP',
editMcpTool: 'Edit MCP',
copyTool: 'Copy Tool',
importTool: 'Import Tool',
settingTool: 'Set Tool',
mcpConfig: 'MCP Service Config',
toolStore: {
title: 'Tool Store',
createFromToolStore: 'Create from Tool Store',
internal: 'Built in system',
recommend: 'Recommended',
webSearch: 'Web Search',
databaseQuery: 'Database Query',
image: 'Image',
developer: 'Developer',
communication: 'Communication',
searchResult: '{count} search results for',
},
searchBar: {
placeholder: 'Search by tool name',
},
tip: {
saveMessage: 'Unsaved changes will be lost. Are you sure you want to exit?',
},
delete: {
confirmTitle: 'Confirm deletion of tool:',
confirmMessage:
'Deleting this tool will cause errors in APP that reference it when they are queried. Please proceed with caution.',
},
disabled: {
confirmTitle: 'Confirm disable tool:',
confirmMessage:
'Disabling this tool will cause errors in APP that reference it when they are queried. Please proceed with caution.',
},
form: {
toolName: {
label: 'Name',
name: 'Tool Name',
placeholder: 'Please enter the tool name',
requiredMessage: 'Please enter the tool name',
},
mcpName: {
label: 'Name',
name: 'MCP Name',
placeholder: 'Please enter the MCP name',
requiredMessage: 'Please enter the MCP name',
},
toolDescription: {
label: 'Description',
placeholder: 'Please enter a description of the tool',
},
mcpDescription: {
label: 'Description',
placeholder: 'Please enter a description of the MCP',
},
paramName: {
label: 'Parameter Name',
placeholder: 'Please enter the parameter name',
requiredMessage: 'Please enter the parameter name',
},
dataType: {
label: 'Data Type',
},
source: {
label: 'Source',
reference: 'Reference Parameter',
},
required: {
label: 'Required',
},
param: {
paramInfo1: 'Displayed when using the tool',
paramInfo2: 'Not displayed when using the tool',
code: 'Content (Python)',
selectPlaceholder: 'Please select parameter',
inputPlaceholder: 'Please enter parameter values',
},
mcp: {
title: 'MCP Service',
label: 'MCP Server Config',
placeholder: 'Please enter MCP Server config',
tip: 'Only supports SSE and Streamable HTTP calling methods',
requiredMessage: 'Please enter MCP Server Config',
},
debug: {
run: 'Run',
output: 'Output',
runResult: 'Run Result',
runSuccess: 'Successful',
runFailed: 'Run Failed',
},
},
}