Spaces:
Runtime error
Runtime error
feat: Add some details regarding the tool output
Browse files- tools/visit_webpage.py +1 -1
tools/visit_webpage.py
CHANGED
@@ -6,7 +6,7 @@ import smolagents
|
|
6 |
|
7 |
class VisitWebpageTool(Tool):
|
8 |
name = "visit_webpage"
|
9 |
-
description = "Visits a webpage at the given url and reads its content as a markdown string. Use this to browse webpages."
|
10 |
inputs = {'url': {'type': 'string', 'description': 'The url of the webpage to visit.'}}
|
11 |
output_type = "string"
|
12 |
|
|
|
6 |
|
7 |
class VisitWebpageTool(Tool):
|
8 |
name = "visit_webpage"
|
9 |
+
description = "Visits a webpage at the given url and reads its content as a markdown string. Use this to browse webpages. The output content is in markdown format."
|
10 |
inputs = {'url': {'type': 'string', 'description': 'The url of the webpage to visit.'}}
|
11 |
output_type = "string"
|
12 |
|