"You must set allow_dangerous_requests to True to use this tool. "
"Requestscan be dangerous and can lead to security vulnerabilities. "
"For example, users can ask a server to make a request to an internal"
"Requestscan be dangerous and can lead to security vulnerabilities. "
"For example, users can ask a server to make a request to an internal"
"server. It's recommended to use requests through a proxy server "
"and avoid accepting inputs from untrusted sources without proper "
"sandboxing."
@ -50,7 +50,10 @@ class RequestsGetTool(BaseRequestsTool, BaseTool):
"""Tool for making a GET request to an API endpoint."""
name:str="requests_get"
description:str="A portal to the internet. Use this when you need to get specific content from a website. Input should be a url (i.e. https://www.google.com). The output will be the text response of the GET request."
description:str="""A portal to the internet. Use this when you need to get specific
@ -182,7 +185,11 @@ class RequestsDeleteTool(BaseRequestsTool, BaseTool):
"""Tool for making a DELETE request to an API endpoint."""
name:str="requests_delete"
description:str="A portal to the internet. Use this when you need to make a DELETE request to a URL. Input should be a specific url, and the output will be the text response of the DELETE request."