GoogleDriveToolkit
autogen.tools.experimental.google.drive.GoogleDriveToolkit #
Bases: Toolkit, GoogleToolkitProtocol
A tool map for Google Drive.
Initialize the Google Drive tool map.
| PARAMETER | DESCRIPTION |
|---|---|
credentials | The Google OAuth2 credentials. TYPE: |
download_folder | The folder to download files to. |
exclude | The tool names to exclude. TYPE: |
api_version | The Google Drive API version to use." TYPE: |
Source code in autogen/tools/experimental/google/drive/toolkit.py
service instance-attribute #
register_for_llm #
Register the tools in the set with an LLM agent.
| PARAMETER | DESCRIPTION |
|---|---|
agent | The LLM agent to register the tools with. TYPE: |
Source code in autogen/tools/toolkit.py
register_for_execution #
Register the tools in the set with an agent for
| PARAMETER | DESCRIPTION |
|---|---|
agent | The agent to register the tools with. TYPE: |
Source code in autogen/tools/toolkit.py
get_tool #
Get a tool from the set by name.
| PARAMETER | DESCRIPTION |
|---|---|
tool_name | The name of the tool to get. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Tool | The tool with the given name. TYPE: |
Source code in autogen/tools/toolkit.py
set_tool #
remove_tool #
Remove a tool from the set by name.
| PARAMETER | DESCRIPTION |
|---|---|
tool_name | The name of the tool to remove. TYPE: |
Source code in autogen/tools/toolkit.py
recommended_scopes classmethod #
Return the recommended scopes manatory for using tools from this tool map.