Update custom_tools.py
Browse files- custom_tools.py +2 -1
custom_tools.py
CHANGED
@@ -22,7 +22,8 @@ class WebpageStructureAnalyzerTool(Tool):
|
|
22 |
"to extract detailed information."
|
23 |
)
|
24 |
# Use Pydantic V2's .model_json_schema() to get the dict
|
25 |
-
inputs: dict = WebpageStructureInputs.model_json_schema()
|
|
|
26 |
|
27 |
def run(self, url) -> str:
|
28 |
"""
|
|
|
22 |
"to extract detailed information."
|
23 |
)
|
24 |
# Use Pydantic V2's .model_json_schema() to get the dict
|
25 |
+
inputs: dict = WebpageStructureInputs.model_json_schema()
|
26 |
+
output_type: type = str
|
27 |
|
28 |
def run(self, url) -> str:
|
29 |
"""
|