LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
LangChain Assistant
New
History
Ask a question to get started
Enter
to send
•
Shift+Enter
new line
Menu
Navigation
Projects
Anthropic
AWS
Cloudflare
DeepSeek
Google
Node
Google Common
Google GAuth
Google GenAI
Google Vertex AI
Google Vertex AI Web
Google WebAuth
Groq
Mistral AI
MongoDB
Ollama
OpenAI
OpenRouter
Redis
xAI
Language
Python
JavaScript
Theme
Light
Dark
JavaScript
@langchain/community
tools
gmail
GmailGetThread
Class
latest
●
Since v0.3
GmailGetThread
Copy
class
GmailGetThread
Bases
GmailBaseTool
Constructors
constructor
constructor
Properties
property
callbacks
:
Callbacks
property
defaultConfig
:
ToolRunnableConfig
property
description
:
string
property
extras
:
Record
<
string
,
unknown
>
property
gmail
:
Gmail
property
lc_kwargs
:
SerializedFields
property
lc_runnable
:
boolean
property
lc_serializable
:
boolean
property
metadata
:
Record
<
string
,
unknown
>
property
name
:
string
property
params
:
GmailBaseToolParams
property
responseFormat
:
string
property
returnDirect
:
boolean
property
schema
:
ZodObject
<__
type
,
"strip"
,
ZodTypeAny
, __
type
, __
type
>
property
tags
:
string
[]
property
verbose
:
boolean
property
verboseParsingErrors
:
boolean
property
lc_aliases
property
lc_attributes
property
lc_id
property
lc_namespace
property
lc_secrets
property
lc_serializable_keys
Methods
method
_addVersion
method
_batchWithConfig
method
_call
method
_callWithConfig
method
_getOptionsList
method
_separateRunnableConfigFromCallOptions
method
_streamIterator
method
_streamLog
method
_transformStreamWithConfig
method
assign
method
asTool
method
batch
method
call
method
decodeBody
method
getGmailClient
method
getGraph
method
getName
method
invoke
method
parseHeaderAndBody
method
pick
method
pipe
method
stream
method
streamEvents
method
streamLog
method
toJSON
method
toJSONNotImplemented
method
transform
method
withConfig
method
withFallbacks
method
withListeners
method
withRetry
method
isRunnable
method
lc_name
View source on GitHub
Version History