Setup
이 toolkit을 사용하려면 Gmail API 문서에 설명된 대로 자격 증명을 설정해야 합니다.credentials.json 파일을 다운로드한 후 Gmail API를 사용할 수 있습니다.
Installation
이 toolkit은langchain-google-community 패키지에 포함되어 있습니다. gmail extra가 필요합니다:
Instantiation
기본적으로 toolkit은 로컬credentials.json 파일을 읽습니다. Credentials 객체를 수동으로 제공할 수도 있습니다.
Customizing Authentication
내부적으로 다음 메서드를 사용하여googleapi resource가 생성됩니다.
더 많은 인증 제어를 위해 googleapi resource를 수동으로 빌드할 수 있습니다.
Tools
사용 가능한 tool 보기:Use within an agent
아래는 toolkit을 agent에 통합하는 방법을 보여줍니다. LLM 또는 chat model이 필요합니다:API reference
모든GmailToolkit 기능 및 구성에 대한 자세한 문서는 API reference를 참조하세요.
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.