GoogleDriveMCPToolkit

class GoogleDriveMCPToolkit(BaseToolkit):

GoogleDriveMCPToolkit provides an interface for interacting with Google Drive using the Google Drive MCP server.

Parameters:

  • timeout (Optional[float]): Connection timeout in seconds. (default: :obj:None)

init

def __init__(
    self,
    timeout: Optional[float] = None,
    credentials_path: Optional[str] = None
):

Initializes the GoogleDriveMCPToolkit.

Parameters:

  • timeout (Optional[float]): Connection timeout in seconds. (default: :obj:None)
  • credentials_path (Optional[str]): Path to the Google Drive credentials file. (default: :obj:None)

get_tools

def get_tools(self):

Returns:

List[FunctionTool]: List of available tools.