Skip to content

Deep Agents Tools 与 MCP

工具是 Agent 连接外部世界的边界。我会分别记录普通 Python 函数、LangChain tool 和 MCP tool 的输入输出约定,并明确工具错误如何回到模型上下文。

  • tools 参数和工具 schema。
  • MCP Server 的连接方式。
  • 工具权限、超时、重试和审计。