-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
51 lines (51 loc) · 1.85 KB
/
plugin.json
File metadata and controls
51 lines (51 loc) · 1.85 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
{
"uuid": "51bb73c9-9a33-46f0-ba3e-07094b5a3d95",
"id": "get_web_search_results",
"emoji": "🔍",
"iconURL": "https://raw.githubusercontent.com/TypingMind/plugin-web-search/refs/heads/main/google.webp",
"title": "Google Search",
"userSettings": [
{
"name": "searchEngineID",
"label": "Search Engine ID",
"required": true
},
{
"name": "searchEngineAPIKey",
"label": "Search Engine API Key",
"type": "password",
"required": true
}
],
"openaiSpec": {
"name": "get_web_search_results",
"description": "Search the web using Google search engine for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.",
"parameters": {
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "The search keyword"
},
"explanation": {
"type": "string",
"description": "One sentence explanation as to why this tool is being used, and how it contributes to the goal."
}
},
"required": ["keyword"]
}
},
"httpAction": {
"id": "03544138-b83c-426f-b157-636e87907aae",
"method": "GET",
"name": "",
"url": "https://customsearch.googleapis.com/customsearch/v1?q={keyword}&cx={searchEngineID}&key={searchEngineAPIKey}",
"resultTransform": {
"engine": "jmes",
"expression": "items[*].{Title: title, Result: snippet, Link: link}"
},
"hasResultTransform": true
},
"implementationType": "javascript",
"outputType": "respond_to_ai"
}