What
In the REPL, or code mode, Claude calls tools from scripts. Tools are the actions Claude can take, such as reading a file. Two things about how tools are described to Claude change:
- The generated
interface Toolstypings used to hold only a one-line list of tool names. They now include each tool's documentation as//comment lines, plus one extra comment line at the end. - Long MCP tool descriptions are still cut short. The note that replaces the missing part now says how many characters were left out, followed by "Read them with describeTool(name) before a call." Before, it said "Part of this is left out. describeTool(...) returns more."
MCP tools come from add-on servers.
Why
Claude gets more guidance on the tools it can call from scripts. It also knows exactly how much of a description is missing and how to read the rest before using the tool.
Names in the bundledescribeTool