待验证90% 置信事实时间未知
在Agent Scratchpad中,LLM生成的工具调用作为AI Message存储,工具返回的结果作为Tool Message存储,两者通过tool_call_id进行关联
1
来源数
90%
置信度
长期有效
时效性
2026/5/31
首次发现
来源
LangChain Agent Executor构建原理:从零实现ReAct智能体
youtubeJames Briggs
涉及实体
相关事实
待验证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 format73% 相似待验证在LangChain框架中,Tool调用结果通过ToolMessage对象追加到消息链68% 相似待验证Harness在转接过程中会预置系统提示词(system prompt),即便用户未写提示词,AI仍知道自己的身份65% 相似待验证动态工具机制允许智能体在运行过程中根据任务进展实时增删可用工具集65% 相似待验证Anthropic 的 Messages API 将 system 消息作为独立的顶层参数传递,而非放在 messages 数组中;工具调用使用 tool_use 和 tool_result content block 类型。64% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/16130API
curl https://kongchang.com/api/v1/knowledge/claims/16130MCP
get_claim(id=16130)