Unverified50% confidenceFactExact time
在LangChain框架中,Tool调用结果通过ToolMessage对象追加到消息链
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
7/20/2026
First Seen
Valid until: 10/18/2026
Sources
Related Claims
UnverifiedToolContext不仅能获取自定义元数据,还能访问当前的聊天记录State,包含用户提示词、大模型响应、工具调用参数等完整对话上下文信息75% similarUnverifiedAnthropic 的 Messages API 将 system 消息作为独立的顶层参数传递,而非放在 messages 数组中;工具调用使用 tool_use 和 tool_result content block 类型。71% similarUnverifiedWhen an LLM model decides to call a tool, it generates an assistant message containing a tool_use block; after the tool finishes executing, the result is appended as a new message in tool_result format71% similarUnverified在LangChain体系下定义工具只需写一个普通函数,加上描述和@tool标签,其描述信息会被序列化为大模型可理解的Function Calling格式70% similarUnverified长程任务能力的实现依赖智能体调度框架、上下文窗口管理和工具调用链路三者协同69% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/575554API
curl https://kongchang.com/api/v1/knowledge/claims/575554MCP
get_claim(id=575554)