You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/q_cli/src/cli/chat/tools/tool_index.json
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,33 @@
147
147
]
148
148
}
149
149
},
150
+
"web_search": {
151
+
"name": "web_search",
152
+
"description": "Search/scrape the web for the specified query. Currently only supports scraping.",
153
+
"input_schema": {
154
+
"type": "object",
155
+
"properties": {
156
+
"query": {
157
+
"type": "string",
158
+
"description": "The search query to use. This is optional when mode is set to scrape since the target_url will be used instead."
159
+
},
160
+
"mode": {
161
+
"type": "string",
162
+
"enum": [
163
+
"Scrape"
164
+
],
165
+
"description": "Scrape mode will return the markdown representation of the page. Search mode will return the first x results from a search engine."
166
+
},
167
+
"target_url": {
168
+
"type": "string",
169
+
"description": "The target URL to scrape. This is only used in scrape mode."
170
+
}
171
+
},
172
+
"required": [
173
+
"mode"
174
+
]
175
+
}
176
+
},
150
177
"gh_issue": {
151
178
"name": "report_issue",
152
179
"description": "Opens the browser to a pre-filled gh (GitHub) issue template to report chat issues, bugs, or feature requests. Pre-filled information includes the conversation transcript, chat context, and chat request IDs from the service.",
0 commit comments