Architecture documentation for the AnyToolDef type/interface in Tool.ts from the claude-code codebase.