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