待验证50% 置信事实精确时间
在LangChain框架中,Tool调用结果通过ToolMessage对象追加到消息链
1
来源数
50%
置信度
中期 (~90 天)
时效性
2026/7/20
首次发现
有效期至:2026/10/18
来源
相关事实
待验证ToolContext不仅能获取自定义元数据,还能访问当前的聊天记录State,包含用户提示词、大模型响应、工具调用参数等完整对话上下文信息75% 相似待验证Anthropic 的 Messages API 将 system 消息作为独立的顶层参数传递,而非放在 messages 数组中;工具调用使用 tool_use 和 tool_result content block 类型。71% 相似待验证When 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% 相似待验证在LangChain体系下定义工具只需写一个普通函数,加上描述和@tool标签,其描述信息会被序列化为大模型可理解的Function Calling格式70% 相似待验证长程任务能力的实现依赖智能体调度框架、上下文窗口管理和工具调用链路三者协同69% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/575554API
curl https://kongchang.com/api/v1/knowledge/claims/575554MCP
get_claim(id=575554)