Code Execution is the appropriate feature because it can run Python or shell-based computation in a sandboxed environment, process uploaded files, perform complex calculations, and generate analytical outputs. For a multi-tab spreadsheet, Claude can use code to read each worksheet, apply defined formulas or transformation logic, reconcile values, and return results that can be reproduced and inspected.
A normal chat response can describe calculations but does not necessarily execute them. Research mode is designed to gather and synthesize information from sources rather than serve as the primary calculation engine for an uploaded workbook. An Artifact can display or preserve an output, but the Artifact surface alone is not the computational mechanism.
Code execution improves reproducibility, but it does not guarantee that the formulas, assumptions, or source data are correct. The finance manager must review the generated code, validate important totals against known values, test edge cases, and reconcile outputs with the workbook’s business rules. Anthropic’s documentation explicitly states that Code Execution can analyze data, process uploaded files, perform complex calculations, and create visualizations in a secure sandbox. Therefore, D is the only feature selection aligned with deterministic spreadsheet computation. Anthropic’s Code Execution documentation
================