⚠️ 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.
设置
安装
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 参考
所有 API toolkit 功能和配置的详细文档请前往 API reference for RequestsToolkit.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

