一、为什么会有这两个东西 当一个 AI Agent 接入的工具(Tool)越来越多——本地业务函数、几十上百个 REST API、外加若干 MCP 服务端——会同时撞上两个问题: Token 成本。所有工具的完整定义(名称、描述、参数 JSON Schema)默认会在每次请求时全量塞进上下文。Spring AI 文档给的数字是:一个多服务端配置很容易超过...
Full article body is being fetched in the background. Refresh in a moment to see the complete paragraphs. For now this page shows a summary and AI analysis.
