LangChain
核心
社区
实验性
文本分割器
ai21
airbyte
anthropic
astradb
aws
azure-dynamic-sessions
chroma
cohere
couchbase
elasticsearch
exa
fireworks
google-community
google-genai
google-vertexai
groq
huggingface
ibm
milvus
mistralai
mongodb
nomic
nvidia-ai-endpoints
ollama
openai
pinecone
postgres
prompty
qdrant
robocorp
together
unstructured
voyageai
weaviate
合作伙伴库
ai21
airbyte
anthropic
astradb
aws
azure-dynamic-sessions
chroma
cohere
couchbase
elasticsearch
exa
fireworks
google-community
google-genai
google-vertexai
groq
huggingface
ibm
milvus
mistralai
mongodb
nomic
nvidia-ai-endpoints
ollama
openai
pinecone
postgres
prompty
qdrant
robocorp
together
unstructured
voyageai
weaviate
文档
切换菜单
langchain_core.messages.tool
.tool_call
tool_call()
langchain_core.messages.tool
.tool_call
¶
langchain_core.messages.tool.
tool_call
(
*
,
name
:
str
,
args
:
Dict
[
str
,
Any
]
,
id
:
Optional
[
str
]
)
→
ToolCall
[source]
¶
参数
name
(
字符串
) –
args
(
字典
) –
id
(
可选字符串
) –
返回类型
ToolCall