Group of 2 Use it now
No documentation found
A generated claude-code.d.ts now types built-in tool inputs, so TypeScript can narrow on checks like tool === Bash.
A new generator (BuiltinToolInputs) writes a claude-code.d.ts declaration file merging built-in tool input schemas into ToolCallInput, similar to the existing MCP tool-input declaration file. This lets TypeScript users narrow e.tool === "Bash" etc. to typed arguments for built-in tools, not just MCP tools. The built-in plugin-types local command now writes both claude-code.d.ts and claude-code-mcp.d.ts, whereas previously it only wrote the MCP tool inputs file.
Names in the bundleclaude-code.d.tsToolCallInput