⚠️ Security note ⚠️
There are inherent risks in giving models discretion to execute real-world actions. Take precautions to mitigate these risks:- Make sure that permissions associated with the tools are narrowly-scoped (e.g., for database operations or API requests);
- When desired, make use of human-in-the-loop workflows.
Setup
Installation
This toolkit lives in thelangchain-community package:
Instantiation
First we will demonstrate a minimal example. NOTE: There are inherent risks in giving models discretion to execute real-world actions. We must “opt-in” to these risks by settingallow_dangerous_request=True to use these tools.
This can be dangerous for calling unwanted requests. Please make sure your custom OpenAPI spec (yaml) is safe and that permissions associated with the tools are narrowly-scoped.
Tools
View available tools:Use within an agent
API reference
For detailed documentation of all API toolkit features and configurations head to the API reference for RequestsToolkit.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.