代码执行工具现已支持 code_execution_20260521,该版本在工具描述中公开了每个单元格 90 秒的执行时间限制,以便 Claude 能够为长时间运行的单元格进行时间预算。无需使用测试版标头。网络搜索工具和网络抓取工具现已支持 web_search_20260318 和 web_fetch_20260318,新增了 response_inclusion 参数,可从 API 响应中移除已消耗的结果块,适用于代理工作流。无需使用测试版标头。
The code execution tool now supports code_execution_20260521, which discloses the 90-second per-cell execution time limit in the tool description so Claude can budget long-running cells. No beta header is required. The web search tool and web fetch tool now support web_search_20260318 and web_fetch_20260318, adding a response_inclusion parameter to drop consumed result blocks from the API response for agentic workflows. No beta header is required.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文